Includes microphone unit with integrated speech analysis
By integrating a speech encoder in the microphone unit and using speech compression technology to reduce the power consumption of the digital transmission link, the problem of high power consumption and signal efficiency when digital microphones in portable devices transmit data is solved, and speech recognition and keyword detection are realized. efficient support.
Patent Information
- Application Number
- CN202010877951.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2014-12-23
- Filing Date
- 2015-12-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2035-12-22
AI Technical Summary
Existing digital microphones consume high power when transmitting data in portable devices, and the transmission signal efficiency is not high, making it difficult to meet the accuracy requirements of speech recognition and keyword detection.
Using a microphone unit with an integrated voice encoder, the audio signal is converted into a low-bit-rate digital signal through voice compression technology, and the MEMS microphone and on-chip voice encoder system are used to transmit it to the downstream circuit system to reduce power consumption when physically transmitting data.
It effectively reduces the power consumption of digital transmission links while ensuring the quality of transmitted signals. It supports speech recognition and keyword detection functions, and improves the overall performance of the device in low-power mode.
Smart Images

Figure CN111933158B_ABST
Abstract
Description
[0001] This application is a divisional application of invention patent application 201580076624.4 filed on December 22, 2015 and entitled “Microphone unit including integrated speech analysis”. Technical Field
[0002] The present disclosure is directed to reducing the data bit rate on an interface of a digital microphone, for example to minimize power consumption in an always-on voice mode, but still pass sufficient information to enable downstream keyword detection or speech recognition functions. Background Art
[0003] Audio functionality is becoming more and more common in portable devices. Such functionality exists not only in devices such as phones that rely on audio technology, but also in other wearable equipment or devices that can be controlled by voice (e.g., voice-responsive toys such as listening-talking teddy bears). Such devices, including phones, will spend almost no time actually transmitting voice, but one or possibly multiple microphones may be permanently enabled to listen for some voice command. Even a wearable accessory may be continuously turned on, waiting for a voice command, and will have little room for batteries, or may rely on some solar energy harvesting or mechanical energy harvesting, and therefore have stringent power consumption requirements in continuous standby mode and in low duty cycle operation modes.
[0004] Microphone transducer and amplifier technology has improved, but typically microphone packages need to drive their output signals some distance. Digital transmission offers advantages including noise immunity, but conventional formats for transmitting digital data from microphones are not particularly efficient in terms of signal line activity and the power consumed in charging parasitic capacitances through the supply voltage at each logic level transition.
[0005] In a portable device (such as a phone or tablet) containing one or more digital microphones, the digital microphone signal has some distance along a ribbon cable or wire (flex) or even across a densely populated printed circuit board, from the microphone to a centralized smart codec chip, etc. Even worse such applications are where the microphone may be in a headset or earbud or in some acoustically desirable location on the user's clothing, far from the handset or main module of the distributed device.
[0006] However, even when otherwise largely inactive, there may be complex signal processing to be performed, such as speaker recognition during voice-triggered wake-up, so solutions such as greatly reducing the resolution of the ADC therein may lead to unacceptable downstream processing results.
[0007] Therefore, there is a need to reduce the power consumed in sending digital microphone data across a wired digital transmission link, while still conveying enough useful information in the transmitted signal to enable downstream functionality (such as speech recognition).
[0008] Figure 1 A conventional digital microphone 10 is illustrated in communication with a smart codec 22 in a host device 20 (eg, a phone), and Figure 2 The operation waveform in a conventional digital microphone interface is illustrated. The host device 20 usually transmits a clock CLK at a frequency such as 3MHz to the microphone 10, which uses this clock to clock the ADC 12 and outputs a 1-bit oversampled delta-sigma stream DAT from the digital buffer interface Dout 14 clock, the 1-bit oversampled delta-sigma stream DAT representing the acoustic signal input Px of the microphone transducer 16, providing the ADC input. In this system, the host 20 consumes power to transmit this clock signal CLK, especially the microphone consumes power to send the data stream DAT at an average conversion rate of 1.5MHz.
[0009] Power can be reduced by operating at a lower clock rate (e.g., 768kHz), but this greatly increases the in-band quantization noise and conversely limits the available bandwidth for a particular noise level. Even so, the power is only reduced by a factor of 4, so the power consumption is still significant, especially in larger form factor devices or when long cable runs are used.
[0010] Transmitting a delta-sigma stream is significantly less efficient in terms of data bit rate and transition rate than transmitting a serial multi-bit PCM stream, but a serial multi-bit PCM stream typically requires an additional clock line to transmit a clock to mark the start of each multi-bit word.
[0011] Secondly, we note that an unfortunate side effect of reducing the delta-sigma sampling clock rate can be to limit the available bandwidth in terms of background quantization noise to, for example, 8kHz instead of, for example, 20kHz. This can increase the word error rate (WER) for voice keyword detection (VKD). This in turn can lead to a higher incidence of false positives, and the system may spend more time in its wake-up mode, significantly affecting the average full system power consumption.
[0012] In addition, there is a general demand for functions that require even more accurate input audio data streams (such as speaker recognition) as part of a voice-triggered wake-up function. It is known that using a wider bandwidth for speaker recognition captures more speech signal components, thereby relaxing the need for a high signal-to-noise ratio (SNR) (e.g., relaxing the need for low acoustic background noise, or the need to carefully optimize microphone positions) to obtain sufficiently high accuracy for biometric purposes. Even in a high SNR environment, a relatively wide signal bandwidth can improve speaker verification accuracy. This is inconsistent with the concept of reducing the frequency of the digital microphone clock to reduce power consumption. Summary of the invention
[0013] According to a first aspect of the present invention, there is provided a microphone unit comprising:
[0014] a transducer for generating an electrical audio signal from the received acoustic signal;
[0015] a speech encoder for obtaining compressed speech data from the audio signal; and
[0016] A digital output is provided for supplying a digital signal representing said compressed speech data.
[0017] In one embodiment of the invention, the microphone unit comprises a packaged microphone, such as a MEMS microphone, with integrated speech encoder circuitry on-chip or co-packaged. This circuitry transmits data out of the package via PCB traces or possibly via a headset cable and to downstream circuitry that can perform more complex functions (such as speech recognition), the transmitted data representing speech information encoded at a low bit rate and in a speech compression format to reduce the power consumed in physically transmitting the data.
[0018] In this disclosure, uncompressed data may be viewed as a numerical representation of samples in a uniformly sampled system, where the in-band signal is an approximation of the audio input waveform within the audio band, while compressed data is typically derived from the uncompressed data such that the digital stream no longer directly represents the uncompressed data and has a lower bit rate.
[0019] Speech coding is the application of data compression to digital audio signals containing speech. Speech coding uses speech-specific parameter estimation to model the speech signal, using audio signal processing techniques, and can be combined with general data compression algorithms to represent the resulting modeled parameters in a compact bitstream.
[0020] Thus, compressed speech data may be data (usually digital data) representing an audio signal from which speech-specific parameters of the audio signal are calculated. For example, this may be the energy of the signal in a set of non-uniformly spaced frequency bins, or may use sub-band coding via, for example, ADPCM per sub-band. Data compression techniques may then be applied to these time-varying parameters, for example re-encoding a scalar or vector according to a code book.
[0021] By way of example, embodiments of the present invention may use any speech compression standard, such as one using MDCT, MDCT-mixed subband, CELP, ACELP, two-stage noise feedback coding (TSNFC), VSELP, RPE-LTP, LPC, transform coding or MLT, where suitable embodiments are AAC, AC-3, ALAC, ALS, AMBE, AMr, AMR-WB, AMR-WB+, apt-X, ATRAC, BroadVoice, CELT, Codec2, Enhanced AC-3, FLAC, any one of the G.7xx group of standards, GSM-FR, iLBC, iSAC, Monkey's Audio, MP2, MP3, Musepack, Nellymoser Asao, Opus, Shorten, SILK, Siren 7, Speex, SVOPC, TTA, TwinVQ, Vorbis, WavPack or Windows MediaAudio. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 An audio processing system is illustrated.
[0023] Figure 2 Illustrated Figure 1 signals in audio processing systems.
[0024] Figure 3 A system including a host device and an accessory is illustrated.
[0025] Figure 4 An audio processing system is illustrated.
[0026] Figure 5 A portion of a microphone unit is illustrated.
[0027] Figure 6 A portion of a microphone unit is illustrated.
[0028] Figure 7 A portion of a microphone unit is illustrated.
[0029] Figure 8 A compression speech encoder is illustrated.
[0030] Fig. 9 An audio processing system is illustrated.
[0031] Fig.10 An audio processing system is illustrated.
[0032] Fig.11 Illustrated Fig.10 A part of the microphone unit in the audio processing system. DETAILED DESCRIPTION
[0033] Figure 3 An audio system is shown merely as one example of a system that may use the methods described herein.
[0034] Specifically, Figure 3 A device 30 is shown, which in this embodiment takes the form of a smartphone or tablet computer. The methods described herein can be used with any device, but are described herein with reference to a specific embodiment in which the device is a portable communication device. Thus, in this embodiment, the host device 30 has audio processing capabilities.
[0035] Figure 3 An audio input 32 is shown, near which a microphone is positioned, within the body of the device 30, so that Figure 3 In other devices, multiple microphones may be present. Figure 3 Also shown is an accessory device 34, which in this embodiment takes the form of a pair of headphones, but which may be any device, in particular any audio accessory device. In this embodiment, the pair of headphones has two earpieces 36, 38, each of which includes a speaker for reproducing sound in response to an audio signal transmitted from the host device 30. Each of the earpieces 36, 38 also includes at least one microphone, for example for detecting ambient noise near the wearer.
[0036] The signal representing the ambient sound is then transmitted from the earphone to the host device 30. The host device then performs a variety of functions. For example, the host device can use an algorithm to perform a noise cancellation function and generate an anti-noise signal, which the host device transmits to the earphone for playback. The effect of playing back the anti-noise signal is to reduce the level of ambient noise heard by the wearer, thereby also making the desired sound (music, speech, etc.) transmitted from the host 30 more audible.
[0037] The accessory device 34 in this embodiment also includes a microphone 40, which is located near the user's mouth when the user is wearing headphones. Microphone 40 is suitable for detecting the user's voice. The accessory device 34 can be connected to the host device 30 via a cable 42. The cable 42 is detachable from at least one of the portable communication device and the audio accessory. In some embodiments, the cable 42 is permanently attached to the accessory device 34 and can be provided with a plug 44 to allow mechanical connection and electrical connection to or disconnection from the host device via a socket 46 provided on the host device. The cable can be in any suitable form.
[0038] The host device 30 includes circuitry for receiving signals from one or more microphones within the body of the device 30 and / or from microphones within the earpieces 36, 38 and / or microphone 40. This circuitry may include, for example, a codec 52, an audio DSP, or other processing circuitry, which in turn may be connected to circuitry within the host device 30 (such as an application processor), and / or may be connected to a remote processor.
[0039] For example, the processing circuit system is capable of performing voice processing functions, such as recognizing the presence of a trigger phrase in voice input received by one or more of the microphones, identifying the speaker of the voice input, and / or recognizing the content of spoken commands, thereby enabling control of the host device or another connected device based on the user's spoken commands.
[0040] Figure 4 One embodiment is shown in which the microphone unit 50 has a digital transmission format and method for communicating with the downstream smart codec 52, audio DSP or other processing circuitry.
[0041] The microphone unit 50 includes a transducer 54 , an analog-to-information converter (AIC) 56 , and a digital output driver 58 .
[0042] The analog-to-information converter 56 or speech encoder or feature extraction block can take a variety of forms. It is well known that brute force digitization of audio signals is extremely inefficient in conveying or generally desired useful information to be interpreted by, for example, the human ear and brain or some machine equivalent. The basic idea is to extract features in the audio signal that will be particularly useful for downstream interpretation, such as Figure 4exemplified by data stream Fx in . Digital interface 58 then transmits data stream FDACT carrying this encoded speech signal to codec 52. In one embodiment, clock identification block 60 in codec 52 recovers a clock from the input data, after which feature processing block 62 operates on the received feature information to perform functions such as voice activity detection or speaker recognition, deliver appropriate markers VDet to downstream processing circuitry, or control or configure some further or subsequent processing of its own. Codec 52 may include clock generation circuitry 66, or may receive a system clock from elsewhere within the host device.
[0043] Preferably, the AIC 56 is asynchronous or self-timed in operation, so that no clock is required, and data transmission may also be asynchronous, which may be at least in the early stages of processing the feature data received by the codec. It may include an asynchronous ADC, such as an asynchronous delta-sigma modulator (ADSM), followed by other analog asynchronous circuitry or self-timed logic circuitry for digital signal processing.
[0044] However, if required by the selected AIC circuit configuration or FDAT data format, the microphone may generate its own clock.
[0045] In some embodiments, the microphone unit may receive at least one low frequency clock, such as a system real time clock, from the codec or elsewhere to synchronize or adjust its internal clock generator using, for example, a locked loop technique. However, as will be discussed below, the feature data to be transmitted may typically be a frame generated at a nominal rate such as 30 Hz or 10 Hz, and the design of any speech processing function (e.g., speech recognition) may need to accommodate a wide range of pitches and spoken word rates. Therefore, compared to the use case where music needs to be recorded with precise pitch and any jitter may result in non-musical intermodulation, the clock does not need a precise or low jitter sampling clock in the speech recognition mode, so the on-chip uncalibrated low power clock 64 may be sufficient.
[0046] In some embodiments, data may be transmitted as data frames or data vectors at some relatively high bit rate such that there is a transitionless interval before each next frame.
[0047] In all embodiments described herein, the microphone unit comprises a transducer and a feature extraction block, the transducer may comprise a MEMS microphone, wherein the MEMS microphone and the feature extraction block are arranged in a single integrated circuit.
[0048] The microphone unit may include a packaged microphone, such as a MEMS microphone, with integrated speech encoder circuitry or feature extraction blocks on-chip or co-packaged.
[0049] This speech encoder circuitry or feature extraction block can transmit data out of the package over a PCB trace or possibly a cable (such as a headphone cable) and to downstream circuitry that can perform more complex functions (such as speech recognition), with the transmitted data representing speech information encoded at a low bit rate and in a speech compression format to reduce the power consumed in physically transmitting the data.
[0050] Figure 5 An embodiment of the AIC 56 is illustrated in which an analog input signal is presented to an ADC 70 (e.g., a 1-bit delta-sigma ADC) clocked by a nominal 768kHz sampling clock CKM. The delta-sigma data stream Dx is then passed to a decimator, window block, and framer 72 to extract data values, such as a sampling rate of 16ks / s, appropriately windowed, and then framed for presentation to an FFT block 74 to derive a set of Fourier coefficients representing the power (or amplitude) of the signal in each frequency bin of a set of equally spaced frequency bins. This spectral information is then passed through a Mel frequency filter bank 76 to provide an estimate of the signal energy in each frequency band of a set of non-equally spaced frequency bands.
[0051] This set of energy estimates itself may be used for output. Alternatively, each of these energy estimates is passed through a logarithm block 78 to compand the estimate before being passed through a discrete cosine transform block 80 to provide cepstral coefficients, known as Mel-Frequency Cepstral Components (MFCCs).
[0052] In one embodiment, the output cepstral coefficients include 15 channels of 12-bit words in a frame period of 30 ms, thereby reducing the data rate from the original 1-bit delta-sigma rate of 3 Mbs / s or 786 kb / s to 6 kb / s.
[0053] Figure 6 Another embodiment of AIC 56 is illustrated, with Figure 5 compared to, Figure 6 There are some additional functional blocks in the signal path. In some other embodiments, not all of these blocks may exist.
[0054] The analog input signal from the transducer element 90 is presented to an ADC 92 (e.g., a 1-bit delta-sigma ADC), which is clocked by a nominal 768kHz sampling clock CKM generated by a local clock generator 94, which sampling clock CKM may be synchronized with the system's 32kHz real-time clock, for example, or the sampling clock CKM may be independent.
[0055] The delta-sigma data stream Dx is then decimated in a decimator 96 to a sampling rate of, for example, 16 ks / s.
[0056] It can then be passed to a pre-emphasis block 98, which includes a high-pass filter, to spectrally equalize the speech signal dominated by low-frequency components. This step can also be beneficial in reducing the effect of low-frequency background noise (e.g., wind noise or mechanical acoustic background noise). In this regard, as discussed below, there can also be a frequency-dependent noise reduction block to reduce the most obvious noise in the frequency band.
[0057] This signal can be transferred to windowing block 100 afterwards, this windowing block 100 can apply for example Hamming window or possibly certain other window function, to extract short duration frame, for example duration is the frame of 10ms to 50ms, in each frame of described short duration frame, voice can be considered as fixed.By making Hamming window slide for example half of frame length or for example make the window slide 10ms of 25ms along the voice signal, the windowing block extracts the stream of short duration frame, thereby the windowing data frame is provided with the frame rate of 100 frames per second.
[0058] FFT block 102 then performs a Fast Fourier Transform (FFT) on the set of windowed samples for each frame to provide a set of Fourier coefficients representing the power (or amplitude) of the signal in each frequency bin of a set of equally spaced frequency bins.
[0059] Each of these frame-by-frame multiple groups of signal spectral components is then processed by a Mel filter bank 104, which maps and combines these linearly spaced spectral components onto frequency bins, where the frequency bins are distributed to more closely correspond to the nonlinear frequency sensitivity of the human ear, with a greater density of bins at low frequencies than at high frequencies. For example, there may be 23 such bins, each with a triangular bandpass response, where the lowest frequency channel is centered at 125 Hz and spans 125 kHz, and the highest frequency channel is centered at 3657 Hz and spans 656 Hz. In some embodiments, other numbers of channels or other nonlinear frequency scales, such as the Bark scale, may be employed.
[0060] Logarithmic block 106 then applies a logarithmic scaling to the energy reported from each mel frequency bin. This helps reduce sensitivity to very loud sounds or very quiet sounds, in a manner similar to the non-linear amplitude sensitivity of human hearing.
[0061] The logarithmically compressed segment energies are then passed as a set of samples to a discrete cosine transform block DCT 108, which applies a discrete cosine transform to each set of logarithmically compressed segment energies. This is used to separate the slowly varying spectral envelope (or vocal tract) information from the faster varying speech excitations. The slowly varying spectral envelope is more useful in speech recognition, so the higher coefficients can be discarded. However, in some embodiments, these higher coefficients can be retained, or possibly combined by weighted addition, to provide at least a measure of energy for higher frequencies, thereby helping to distinguish sibilants or providing more clues for speaker identification. In some embodiments, high-order (3) coefficients can be generated in parallel with low-order coefficients.
[0062] The DCT block 108 may also provide further output data. For example, one component output may be the sum of all log energies from each channel, but this may also be derived by a parallel total energy estimator EST 110 fed from non-pre-emphasized data.
[0063] There may also be a dynamic coefficient generator that can generate other coefficients based on first-order or second-order inter-frame differences of the coefficients.
[0064] An equalizer (EQ) block 112 may adaptively equalize the multiple components with respect to a flat spectrum, for example using an LMS algorithm.
[0065] Before transmission, the data rate can be further reduced by a data compressor (DC) block 114, possibly by exploiting redundancy or correlation between coefficients expected due to the nature of the speech signal. For example, split vector quantization compresses the MFCC vectors. In one embodiment, the feature vectors of dimension 14 can be split into pairs of sub-vectors, each of which is quantized to 5 or 6 bits with a frame period of 10 ms, for example using a corresponding codebook. This can reduce the data rate to 4.4 kb / s or lower, for example, if a frame period of 30 ms is used, the data rate can be reduced to 1.5 kb / s.
[0066] Additionally or alternatively, the data compressor may employ other standard data compression techniques.
[0067] Thus, by employing compression techniques that rely at least in part on known general properties of speech waveforms and general properties of human speech perception (e.g., when using nonlinearly spaced filter banks and logarithmic compression, or using the above-mentioned separation of vocal tract information from excitation information), the data rate necessary to carry useful information about the speech content of the acoustic input signal has been reduced to below that necessary for a simple multi-bit or oversampled time-domain representation of the actual waveform. The output data stream can be considered compressed speech data because the output data has been compressed from the input signal in a manner that is particularly suitable for speech and for communication of parameters that convey information about the speech waveform, rather than in a manner that is suitable for general techniques for digitizing signals and for compressing arbitrary data streams.
[0068] Having generated compressed voice data, this data now needs to be physically transferred to a codec or other downstream circuitry. In the case where an accessory is connected to a host device via a cable (such as a headset 34 containing multiple microphones connected to an audio device 30, such as Figure 1 ), one can simply use two wires to transmit the output data, one wire carrying the data (e.g., 180 bits every 30 ms, Figure 5 In an embodiment of the present invention, the two-wire link may be used between a microphone and a codec within the body of a device such as a mobile phone, or similarly on a circuit board inside a phone.
[0069] Can use standard data formats such as Soundwire TM or Slimbus TM , or a standard three-wire interface such as I2S.
[0070] Alternatively, a single wire serial interface may be used to transmit data in a cyclical sequence of predetermined frames in which a unique synchronization pattern may be sent at the beginning of each frame of a word and which may be recovered by simple and low power clock recovery circuitry in the data and target devices. The clock is preferably a low power clock internal to the microphone, the exact frequency and jitter of which is unimportant as the feature data is far less clock critical than full resolution PCM.
[0071] A nibble of data may be sent using a single or dual wire format of pulse length modulation (PLM) such as disclosed in published U.S. patent application (US2013 / 0197920(A1)). Data may be sent as a sequence of pulses with a fixed leading edge, where the length of each pulse indicates a binary number. The fixed leading edge simplifies clock recovery.
[0072] Some time slots in the output data stream structure (PLM or non-PLM) may be reserved for identification functions or control functions. In this application, for a continuous data stream, an occasional data bit error may not have a serious impact. However, in some applications, it is desirable to protect at least the control data by some error detection and / or correction scheme, for example based on cyclic redundancy check bits embedded in the stream.
[0073] Therefore, speech encoding to reduce the data rate and thus the average transition rate on the physical bus can significantly reduce the power consumption of the system. This power saving may be offset to some extent by the power consumed by the speech encoding itself, but this process may have to be performed somewhere else in the system to provide keyword detection or speaker recognition or more general speech recognition functions in any case. In addition, as transistor size decreases, the power required to perform a given digital computing task drops rapidly over time.
[0074] It is known that Mel Frequency Cepstrum Component (MFCC) values are not very robust in the presence of additive noise. This can lead to false positives from downstream voice keyword detectors, potentially causing this block to frequently trigger ineffective power-ups of subsequent circuitry, with a significant effect on average system power consumption.
[0075] In some embodiments, the generation method can be modified, for example by replacing the logarithmic Mel amplitude (given by Figure 5 , or by block 78 in the embodiment shown in Figure 6 ) to a suitable power (around 2 or 3), followed by DCT (at Figure 5 Block 80 in the embodiment shown in FIG. 1 , or in Figure 6 ), which reduces the impact of low energy components.
[0076] In some embodiments, the parameters of feature extraction can be modified according to the detected or estimated signal-to-noise ratio or other signal-related parameters or noise-related parameters associated with the input signal. For example, the number and center frequency of the cepstrum frequency segments in which the mel-frequency energy is extracted can be modified.
[0077] In some embodiments, the cepstrum coding block can comprise a noise reduction block or be a noise reduction block before it, and the noise reduction block is for example directly after extraction block 72 or 96, or after the pre-emphasis block 98 that may have removed some low-frequency noises, or the windowing frame data produced by piece 100 are operated.When necessary, this noise reduction block can be enabled by the noise detection block.This noise detection block can be analog, and monitors input signal Ax, or this noise detection block can be digital, and ADC output Dx is operated.This noise detection block can be marked under the following circumstances: when the level of received signal or spectrum or other characteristics indicate high noise level, or when the ratio of peak signal or average signal to noise drops to below a threshold value.
[0078] The noise reduction circuit system can act to filter the signal to suppress such frequency segments: in this frequency segment, when the signal is present, the noise (as monitored by the voice activity detector, the noise monitored in the time period when there seems to be no voice) may exceed the signal. For example, the Wiener filter setting can be used to suppress noise on a frame-by-frame basis. The Wiener filter coefficients can be updated on a frame-by-frame basis, and before being applied to the actual signal, the coefficients are smoothed via a Mel frequency filter bank and then subjected to an inverse discrete cosine transform. In some embodiments, Wiener noise reduction can include two stages. Each stage can incorporate a dynamic noise enhancement feature, wherein the level of noise reduction performed depends on the estimated signal-to-noise ratio or other signal-related parameters or features of the signal or noise-related parameters or features.
[0079] A variety of signal coding techniques, in particular cepstral feature extraction using MFCC coding, in which the transmitted output data is derived from the signal energy associated with each filter bank having non-uniformly spaced center frequencies, are compatible with many known downstream speech recognition or speaker recognition algorithms. In some cases, the MFCC data can actually be forwarded from the codec (e.g., in ETSI-standard MFCC form) for signal processing in the host device, or transmitted to a remote server for processing "in the cloud". The latter can reduce the data bandwidth required for transmission and can be used to preserve speech quality under poor transmission conditions.
[0080] However, in some embodiments, the microphone may be required to deliver a more conventional output signal that digitizes the instantaneous input audio signal in, for example, a 16-bit format at, for example, 16ks / s or 48ks / s.
[0081] There may also be other applications that require signals in some other format. Conventionally, this processing and reformatting of the signal can occur in a telephone application processor or an intelligent codec with DSP capabilities. However, given the presence of a DSP circuit system in the microphone unit, it is necessary to reduce the digital transmission power in standby mode or "always on" mode, and this DSP circuit system can be used to perform other speech encoding methods in other use cases. Because semiconductor manufacturing processes have developed with ever-decreasing feature sizes, and because the cost of each of these processes has decreased over time and with maturity, it has become more feasible to actually integrate this function in the microphone unit itself, leaving any more powerful processing power elsewhere in the system freer to perform high-level tasks. Or, in fact, in some final applications, the requirement for other signal processing DSPs can be removed to allow the use of a perhaps simpler non-DSP controller processor.
[0082] Figure 7 A microphone unit 130 is illustrated which can operate in a variety of modes, with various degrees and methods of signal encoding or compression. Figure 7 Several different functional blocks are shown. In some other embodiments, only a subset of these blocks exists.
[0083] The analog input signals from the transducer elements 132 are presented to an ADC 134 (eg, a 1-bit delta-sigma ADC), and the resulting delta-sigma data stream Dx is then passed to one or more functional blocks, as described below.
[0084] The ADC may be clocked by a sampling clock CKM, which may be generated by a local clock generator 136 or may be received on a clock input 138 depending on the mode of operation.
[0085] The microphone unit is operable in a first low power mode in which it uses an internally generated clock and provides compressed voice data, and in a second higher power mode in which it receives an external clock and provides uncompressed data.
[0086] The operating mode can be controlled by a downstream control processor via a signal received on a control input terminal 140. These inputs can be separate, or can be provided by making the digital output line bidirectional. In some embodiments, the operating mode can be automatically determined by the circuit system in the microphone unit. The control block 142 receives the control input and determines which function blocks are activated.
[0087] therefore, Figure 7As shown, the data stream Dx can be passed to a PDM formatting block 144, which allows the digitized time domain output of the microphone to be directly output as a PDM stream. The output of the PDM formatting block 144 is passed to a multiplexer 146, which operates under the control of the control block 142, and the multiplexer output is passed to a driver 148 to generate a digital output DAT.
[0088] Figure 7 Also shown is a data stream Dx passed to a feature extraction block 150, for example, to be used to obtain values (eg, MFCC values) based on frequency bins using non-linear spacing.
[0089] Figure 7 Also shown is a data stream Dx passed to a compressed sampling block 152, for example for deriving a sparse representation of the input signal.
[0090] Figure 7 Also shown is a data stream Dx passed to a lossy compression block 154, for example, to perform Adaptive Differential Pulse Code Modulation (ADPCM) or similar form of encoding.
[0091] Figure 7 Also shown is a data stream Dx passed to the extractor 156.
[0092] In some embodiments, the data stream Dx is also passed to a lossless encoding block to provide a suitable output data stream.
[0093] Figure 7 The outputs of the compressed sampling block 152, the lossy compression block 154, and the decimator 156 are shown connected to respective data buffer memory blocks 158, 160, 162. These data buffer memory blocks allow for storage of higher quality data generated by these blocks. Thus, if analysis of the lower power data stream indicates that power may be expended in transmitting higher quality data, if desired, for some further processing or examination requiring such higher quality data.
[0094] For example, analysis of the lower power data stream may indicate that the audio signal contains a trigger phrase spoken by a user identified by the device during a particular time period. In this case, higher quality data relating to the same time period may be read out from one of the buffer memory blocks and further analysis performed on that data, such as to confirm whether the trigger phrase was actually spoken, or whether the trigger phrase was spoken by the identified user, or to perform more detailed keyword detection before waking up larger portions of the downstream system. Thus, the higher quality data may be used for downstream operations that require better data, such as downstream speech recognition.
[0095] Figure 7It is also shown that the outputs of the feature extraction block 150, the compressed audio processing block 152 and the lossy compression block 154 are output via corresponding pulse length modulation (PLM) encoding blocks 164, 166, 168 and via a multiplexer 146 and a driver 148, wherein the multiplexer 146 operates under the control of the control block 142. Figure 7 The output of the decimator 156 is also shown being output via a pulse code modulation (PCM) encoding block 170 and via a multiplexer 146 and a driver 148 , the multiplexer 146 operating under the control of the control block 142 .
[0096] Depending on the selected operating mode, the physical form of the transmitted output may be different. For example, a high data rate mode may be transmitted using low voltage differential signaling for noise immunity, and the data may be scrambled to reduce emissions. On the other hand, in a low data rate mode, the signal may be low bandwidth and less susceptible to noise and transmission line reflections, etc. Preferably, the signal is unterminated to save power consumption associated with driving the termination resistors. In a lower power mode, the signal swing, i.e., the digital driver supply voltage, may be reduced.
[0097] Other operating parameters of the circuit may also be altered based on the signal mode. For example, in a low data rate mode, the speed requirements of the DSP operation may be modest, so the circuit system may be operated at a lower logic supply voltage or master clock division frequency than when performing more complex operations in conjunction with higher rate encoding.
[0098] While AIC or feature extraction based on the above scheme can provide a particularly efficient method of encoding and transmitting important information in an audio signal, it may be desirable for the microphone unit to also be able to operate so as to provide a more conventional data format, for example for processing by local circuitry or onward transmission for processing in the cloud, where such processing may not understand more complex signal representations, or where, for example, the current use case is for recording music at a high quality.
[0099] In this case, it is advantageous that the initial conversion in the ADC is of high quality, requiring a high quality low jitter clock, and preferably synchronized with the codec DSP master clock to avoid problems with sample rate conversion synchronization with the codec master clock and / or synchronization with a reference sample rate of a standard output digital PCM format. Thus, the microphone unit can be operated in a first mode, in which feature extraction and / or data compression is performed, and in a second mode, in which a clock is supplied (for example) from the codec and the unit is synchronized with the codec DSP master clock. Figure 1 The method operates in a similar manner as shown in FIG.
[0100] Therefore, the digital microphone unit can operate in at least two modes, which are ADC (Analog-Digital Conversion) or AIC (Analog-Information Conversion). In ADC mode, PCM data from the ADC is transmitted, and in AIC mode, data extracted from the ADC output is encoded, especially for speech.
[0101] In other embodiments, the microphone unit can be operated in a mode to perform lossy low bit rate PCM encoding. For example, the unit can include a lossy codec, such as an ADPCM encoder, with a sampling rate selectable in some embodiments, for example between 8ks / s-24ks / s.
[0102] In some embodiments, the microphone unit has a coding block for performing μ-law coding and / or A-law coding, or coding to some other telephone standard. For example, in some embodiments, the microphone unit has a coding block for MDCT, MDCT-hybrid subband, CELP, ACELP, two-stage noise feedback coding (TSNFC), VSELP, RPE-LTP, LPC, transform coding, or MLT coding.
[0103] In other embodiments, the microphone unit may operate in a mode in which it outputs compressively sampled PCM data, or in any scheme that exploits signal sparsity.
[0104] Figure 8 An embodiment of a compression speech encoder is illustrated, which can be used in any of the embodiments described or illustrated herein. The output of ADC 190 is passed through a decimator 192 to provide (for example) 12-bit data at 16ks / s or 48ks / s. This data is sampled at an average sampling rate of, for example, only 48Hz or 1kHz, but wherein the sampling time is randomized by a suitable random number generator or random pulse generator 194.
[0105] Therefore, the sampling circuit samples the input signal at a sampling rate that is less than the bandwidth of the input signal, resulting in the sampling instants being randomly distributed in time.
[0106] Fig. 9A system using such a compressed speech encoder is shown. Therefore, a microphone unit 200 including a compressed ADC 202 is connected to supply data at a very low data rate to a codec 204. With the help of existing knowledge of signal statistics, a downstream circuit system 206 can perform a local reconstruction (computationally cheap) to perform sparse feature extraction in a low power mode, or perform a complete reconstruction (computationally expensive) to obtain a Nyquist type of speech for forward transmission. Note that there are known subsequent processing algorithm blocks, such as block 208, for performing "sparse recognition" compatible with such a compressed sampling format. In such an algorithm, a sparse representation of a signal is matched with a linear combination of several atoms from a predetermined dictionary, which can be obtained a priori by using machine learning techniques to learn an over-complete dictionary of the main signals (atoms) directly from the data so that the most relevant properties of the signal can be effectively captured.
[0107] Sparse extraction has some benefits in performing feature extraction in the presence of noise. Noise is not identified as including any atomic components and so does not appear in the encoded data. Such neglect of input noise can thereby avoid unnecessary activation of downstream circuitry and avoid increased power consumption in a noisy environment relative to a quiet environment.
[0108] Fig.10 An embodiment is illustrated in which the microphone unit 210 is connected to supply very low data rate data to the codec 212, and in which, to further reduce power consumption, some, if not all, of the feature extraction is performed using analog signal processing (ASP). In the microphone unit 210, the signal from the microphone transducer is passed to an analog signal processor 214, then to one or more analog-to-digital converters 216, and then to an optional digital signal processor 218. Feature recognition 220 is then performed in the codec 212.
[0109] Fig.11 The processing within one embodiment of the microphone unit 210 is shown in more detail, in which a significant portion of the signal processing is performed by analog circuitry rather than digital circuitry. Thus, the input signal is passed through a plurality of bandpass filters (shown in FIG. 1 by way of example only). Fig.11The bandpass filters are constant Q and equally spaced in Mel frequency. The output is passed to logarithmic function blocks 248, 250, 252, which can be implemented using standard analog design techniques, such as based on applying the input signal to an IV two-port circuit (such as a semiconductor diode) with logarithmic current-voltage conversion via a voltage-current conversion signal. The output is passed to multiple parallel ADCs 252, 254, 256. The ADCs may include voltage-controlled oscillators whose frequencies are used as representations of their respective input signals. These ADCs are simple and low power, and their linearity is not important in this application. These simple ADCs can have significantly or even completely reduced power and area compared to the main ADC. In the field of cochlear implants, for example, the state of the art for similar circuit blocks is below 20 microwatts.
[0110] In all embodiments described herein, the microphone, ADC and speech coding circuit system can be advantageously positioned close together to reduce the high data rate signal path of digital data before the data rate is reduced. All three components can be packaged together. At least two of these three components can be integrated together on an integrated circuit.
[0111] The microphone may be a MEMS transducer, which may be capacitive, piezoelectric or piezoresistive, and is co-integrated with at least the ADC.
[0112] Those skilled in the art will recognize that multiple embodiments of the apparatus and methods described above may be implemented (at least in part) using programmable components rather than dedicated hardware components. Thus, embodiments of the apparatus and methods may be at least partially embodied as processor control code, for example on a non-volatile carrier medium such as a disk, CD-ROM or DVD-ROM, a programmed memory such as a read-only memory (firmware) or on a data carrier such as an optical signal carrier or an electrical signal carrier. In some applications, embodiments of the present invention may be implemented at least in part by a DSP (digital signal processor), an ASIC (application specific integrated circuit) or an FPGA (field programmable gate array). Thus, the code may include conventional program code or microcode, or, for example, code for setting up or controlling an ASIC or FPGA. The code may also include code for dynamically configuring a reconfigurable apparatus such as a reprogrammable logic gate array. Similarly, the code may include a hardware description language such as Verilog TMThe code may be distributed among multiple coupled components that communicate with each other, as will be appreciated by those skilled in the art. Where appropriate, the embodiments may also be implemented using code that runs on a field (re)programmable analog array or similar device to configure analog hardware.
[0113] It should be understood, especially by those of ordinary skill in the art who have benefited from this disclosure, that various operations described herein, particularly those described with reference to the accompanying drawings, may be implemented by other circuit systems or other hardware components. The order in which each operation of a given method is performed may be changed, and various elements of the systems illustrated herein may be added, reordered, combined, omitted, modified, etc. This disclosure is intended to include all such modifications and changes, and therefore, the above description should be considered to be illustrative rather than restrictive.
[0114] Similarly, although this disclosure refers to specific embodiments, these embodiments may be modified and altered without departing from the scope of this disclosure. In addition, any benefits, advantages, or solutions to problems described herein with respect to specific embodiments are not intended to be understood as key, required, or essential features and elements.
[0115] Other embodiments will also be apparent to those of ordinary skill in the art given the benefit of this disclosure, and such embodiments are deemed to be encompassed herein.
Claims
1. A packaged microphone, comprising: a transducer integrated into the packaged microphone, the transducer for generating an audio signal; a speech feature extraction block, for obtaining speech feature values from the audio signal; as well as A digital output, wherein the digital output is configurable in a first mode to supply a digital signal representing the speech feature value and in a second mode to supply a digital signal representing a time sample of the audio signal.
2. A microphone according to claim 1, wherein the speech feature extraction block comprises means for obtaining speech feature values from the audio signal by means of a filter bank for providing an estimate of the signal energy in each frequency band of a set of non-equally spaced frequency bands. The microphone of claim 2 , wherein the non-equally spaced frequency bands are Mel frequencies.
4. The microphone according to one of claims 1 to 3, wherein the speech feature extraction block comprises means for obtaining cepstral features.
5. The microphone according to one of claims 1 to 3, wherein the speech feature extraction block and the digital output are provided on a single integrated circuit. The microphone of claim 5 , wherein the transducer is disposed on the integrated circuit.
7. The microphone of claim 6, wherein the transducer comprises a MEMS microphone.
8. The microphone according to claim 5, wherein the transducer is used to generate an analog audio signal, An analog-to-digital converter is also included for generating a digital audio signal from the analog audio signal, wherein the speech feature extraction block is connected to the analog-to-digital converter for obtaining speech feature values from the digital audio output signal.
9. The microphone of claim 8, wherein the analog-to-digital converter is disposed on the integrated circuit.
10. A microphone according to one of claims 1 to 3, further comprising data compression circuitry for receiving the speech feature values from the speech feature extraction block and for generating a reduced bit rate signal for supply to the digital output.
11. The microphone of claim 10, wherein the data compression circuitry operates using a predetermined codebook.
12. The microphone of claim 10, wherein the data compression circuitry performs multi-vector encoding.
13. The microphone according to one of claims 1 to 3, The digital signal contains data at 20 kbit / s or less.
14. Microphone according to one of claims 1 to 3, wherein the digital output is configurable, in a first mode, for supplying the digital signal in a data compressed version representing the speech characteristic value.
15. The microphone of claim 14, wherein the digital signal representing a data compressed version of the speech feature value comprises ADPCM compressed data.
16. Microphone according to one of claims 1 to 3, wherein the digital signal representing the time sampling of the audio signal is supplied at a higher data rate than the digital signal representing the speech characteristic value.
17. The microphone of claim 16, wherein the digital signal representing the time sampling of the audio signal is a PCM signal supplied at a sampling rate of 16 kHz or higher.
18. The microphone of claim 16, wherein the digital signal representing the time sampling of the audio signal is a PDM signal at a sampling rate of 0.5 MHz or higher.
19. The microphone of one of claims 1 to 3, wherein the digital output is configurable between the first mode and the second mode based on a command received from a discrete device to which the digital output is connected.
20. The microphone of one of claims 1 to 3, wherein the digital output is configurable between the first mode and the second mode based on a command generated in the microphone.
21. A microphone according to claim 20, comprising a voice activity detector for generating said command.
22. The microphone of claim 21, wherein the command causes the digital output to enter the first mode in response to detecting voice activity in the audio signal.
23. A microphone according to one of claims 1 to 3, further comprising noise cancellation circuitry for reducing the effect of ambient noise in the digital signal.
24. The microphone of claim 23, wherein the noise cancellation circuitry comprises a Wiener filter.
25. The microphone of claim 24, wherein the noise cancellation circuitry comprises an adaptive Wiener filter.
26. A microphone according to one of claims 1 to 3, wherein the speech feature extraction block comprises a plurality of analog filters providing signals in different respective frequency bands and means for extracting features from the signal.
Citation Information
Patent Citations
Data transfer
US20130197920A1
System and method for dynamic sound delivery
CN102016984A
Dual-microphone-based speech enhancement device and speech enhancement method
CN102074245A
Dual-microphone based speech enhancement device and method
CN102074246A
Method and apparatus for decoding audio data
CN102667924A
