1. Field
At least one aspect relates to monitoring the impact of a user on the performance of a communication system. More specifically, at least one feature relates to detecting microphone covering by the user of the mobile device and issuing a warning to the user so that the user's behavior does not have a detrimental effect on the performance of the communication system.
2. Background
Mobile devices (e.g., mobile phones, digital recorders, communication devices, etc.) are often used in different ways by different users. Such usage diversity could significantly affect the voice quality performance of the mobile devices. The way that a mobile device is used varies from user to user and from time to time for the same user. Users have different communication needs, preferences for functionality, and habits of use that may result in a mobile device being used or held in different positions during operation. For example, one user may like to place the device up-side-down while using it to speak in speakerphone mode. In another example, there may be no line-of-sight (LOS) between a microphone on the mobile device and the user, which may affect voice signal capture. In yet another example, a mobile device may be placed or positioned such that the capture of a desired voice signal by the microphone is blocked or hindered.
Some mobile devices may employ multiple microphones in an effort to improve the quality of the transmitted sound. Such devices typically use advanced signal processing methods to process the signals recorded or captured by multiple microphones and these methods offer various benefits such as improved sound/voice quality, reduced background noise, etc. in the transmitted sound signal. However, covering of the microphones by the user (talker) can hamper the performance of the signal processing algorithms and the intended benefits may not be realized.
The different ways in which users may use a mobile device often affects the reception of the desired sound or voice signals by a microphone on the mobile device, resulting in sound or voice quality degradation (e.g., decrease in signal-to-noise ratio (SNR)). In voice communications, especially mobile voice communications, voice or sound quality is a criterion for quality of service (QoS). The way a mobile device is used is one of many factors that may potentially affect QoS. However, during the normal usage of a mobile device, the user may cover one or more microphones and his/her behavior can degrade the sound/voice quality.
Consequently, a way is needed to alert a user of a mobile device that his/her behavior is having a detrimental effect on the sound/voice quality.
A method for improving sound capture on a mobile device is provided. A first acoustic signal is received via a primary microphone to obtain a primary sound signal. Similarly, a second acoustic signal is received via a secondary microphone to obtain a secondary sound signal. The first sound signal and the second sound signal may be obtained within overlapping time windows. A first signal characteristic is determined for the primary sound signal and a second signal characteristic is determined for the secondary sound signal. A determination is made as to whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic. A warning may be provided indicating that the secondary microphone may be obstructed. The secondary sound signal may be used to improve the sound quality of the primary sound signal.
According to one feature, determining whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic may include (a) determining whether a ratio between the second signal characteristic and first signal characteristic is less than a threshold, and/or (b) providing the warning if the ratio is less than the threshold. The warning may be provided through at least one of an audio signal, a vibration of the mobile device, and a visual indicator.
The method may also include (a) obtaining a first sensitivity corresponding to a primary microphone and a second sensitivity corresponding to a secondary microphone, and/or (b) obtaining the threshold based on the difference between the first sensitivity and the second sensitivity. The first sensitivity of the primary microphone and second sensitivity of the secondary microphone may be obtained for a given level of sound pressure.
Another aspect provides for (a) processing the primary sound signal to either reduce noise or enhance sound quality by using the secondary sound signal, and/or (b) transmitting the processed primary sound signal to an intended listener over a communication network.
According to one feature, the first signal characteristic may be a first noise level for the primary sound signal and the second signal characteristic may be a second noise level for the secondary sound signal. The first noise level may be a first noise floor level and the second noise level may be a second noise floor level. The first and second noise floor levels may be smoothened for the first and second sound signals. Alternatively, the first signal characteristic may be a first noise level for the primary sound signal and the second signal characteristic may be a second power level for the secondary sound signal.
According to one aspect, obtaining the first signal characteristic for the primary sound signal may include (a) segmenting the primary sound signal it into a first plurality of frames, (b) estimating a block power for each of the first plurality of frames, and/or (c) searching for a minimum energy term in the first plurality of frames to obtain a first noise floor estimate for the primary sound signal, wherein the first noise floor estimate is the noise level for the primary sound signal. Similarly, obtaining the second signal characteristic for the secondary sound signal may include (a) segmenting the secondary sound signal it into a second plurality of frames, (b) estimating a block power for each of the second plurality of frames, and/or (c) searching for a minimum energy term in the second plurality of frames to obtain a second noise floor estimate for the primary sound signal, wherein the second noise floor estimate is the noise level for the secondary sound signal. Determining whether the secondary microphone may be obstructed may include (a) obtaining a ratio of the second noise floor estimate to the first noise floor estimate, and/or (b) determining whether the ratio is less than a threshold.
According to another aspect, the method may also include (a) obtaining a block power estimate for the secondary sound signal for the secondary microphone, (b) obtaining a smoothening factor for the secondary sound signal, (c) obtaining a smooth block power estimate for the secondary sound signal based on the smoothening factor and the block power estimate, (d) obtaining a first noise floor estimate for a primary microphone signal block for the primary microphone, (e) obtaining a ratio between the smooth block power estimate and the first noise floor estimate, and/or (f) determining whether the ratio is less than a threshold.
Yet another aspect provides for dynamically selecting the primary microphone from a plurality of microphones based on which microphone has either the highest signal energy or highest signal-to-noise ratio at a particular period of time.
A mobile device is also provided comprising: a primary microphone, a secondary microphone, and a secondary microphone cover detection module. The primary microphone may be configured to obtain a first sound signal. The secondary microphone may be configured to obtain a second sound signal. The secondary microphone cover detection module may be configured or adapted to (a) determine a first signal characteristic for the primary sound signal, (b) determine a second signal characteristic for the secondary sound signal, (c) determine whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic, and/or (d) provide a warning indicating that the secondary microphone may be obstructed. The warning may be provided through at least one of an audio signal, a vibration of the mobile device, and a visual indicator. The first sound signal and the second sound signal may be obtained within overlapping time windows. The second sound signal may be used to improve the sound quality of the first sound signal.
In determining whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic, the secondary microphone cover detection module may be further configured or adapted to determine whether a ratio between the second signal characteristic and first signal characteristic is less than a threshold. The secondary microphone cover detection module may be further configured or adapted to (a) obtain a first sensitivity corresponding to the primary microphone and a second sensitivity corresponding to the secondary microphone, wherein the first sensitivity of the primary microphone and second sensitivity of the secondary microphone are obtained for a given level of sound pressure, and/or (b) obtain a threshold based on the difference between the first sensitivity and the second sensitivity.
The secondary microphone cover detection module may be further configured or adapted to (a) process the first sound signal to either reduce noise or enhance sound quality by using the secondary sound signal, and/or (b) transmit the processed primary sound signal to an intended listener over a communication network.
The primary and secondary microphones may be selected from a plurality of microphones mounted on different surfaces of the mobile device. Consequently, the secondary microphone cover detection module may be further configured or adapted to dynamically select the primary microphone from the plurality of microphones based on which microphone has either the highest signal energy or highest signal-to-noise ratio at a particular period of time.
The first signal characteristic may be a first noise floor estimate for the primary sound signal and the second signal characteristic may be a second noise floor estimate for the secondary sound signal. Consequently, the secondary microphone cover detection module may be further configured or adapted to determine whether a ratio between the second noise floor estimate and the first noise floor estimate is less than a threshold.
The first signal characteristic is a first noise floor estimate for the primary sound signal and the second signal characteristic is a second smoothened power estimate for the secondary sound signal. Consequently, the secondary microphone cover detection module may be further configured or adapted to determine whether a ratio between the second smoothened power estimate and the first noise floor estimate is less than a threshold.
Consequently, a mobile device is provided comprising: (a) means for receiving a first acoustic signal via a primary microphone to obtain a primary sound signal, (b) means for receiving a second acoustic signal via a secondary microphone to obtain a secondary sound signal, (c) means for determining a first signal characteristic for the primary sound signal, (d) means for determining a second signal characteristic for the secondary sound signal, (e) means for determining whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic, and/or (f) means for providing a warning indicating that the secondary microphone may be obstructed. The first signal characteristic may be a first noise floor estimate for the primary sound signal and the second signal characteristic is a second noise floor estimate for the secondary sound signal. The first signal characteristic is a first noise floor estimate for the primary sound signal and the second signal characteristic is a second smoothened power estimate for the secondary sound signal.
A circuit is also provided for improving sound capture, wherein the circuit is adapted or configured to (a) receive a first acoustic signal via a primary microphone to obtain a primary sound signal, (b) receive a second acoustic signal via a secondary microphone to obtain a secondary sound signal, (c) obtain a first signal characteristic for the primary sound signal, (d) obtain a second signal characteristic for the secondary sound signal, (e) determine whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic, and/or (f) provide a warning indicating that the secondary microphone may be obstructed. The first signal characteristic may be a first noise floor estimate for the primary sound signal and the second signal characteristic may be a second noise floor estimate for the secondary sound signal. According to one aspect, in determining whether the secondary microphone may be obstructed, the circuit may be further adapted to determine whether a ratio between the second noise floor estimate and the first noise floor estimate is less than a threshold. The first signal characteristic may be a first noise floor estimate for the primary sound signal and the second signal characteristic may be a second smoothened power estimate for the secondary sound signal. According to another aspect, in determining whether the secondary microphone may be obstructed, the circuit may be further adapted to determine whether a ratio between the second smoothened power estimate and the first noise floor estimate is less than a threshold. In one example, the circuit may be implemented as an integrated circuit.
A computer-readable medium is also provided comprising instructions improving sound capture on a mobile device, which when executed by a processor causes the processor to (a) receive a first acoustic signal via a primary microphone to obtain a primary sound signal, (b) receive a second acoustic signal via a secondary microphone to obtain a secondary sound signal, (c) determine a first signal characteristic for the primary sound signal, (d) determine a second signal characteristic for the secondary sound signal, (e) determine whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic, (f) provide a warning indicating that the secondary microphone may be obstructed, and/or (g) dynamically select the primary microphone from the plurality of microphones based on which microphone has either the highest signal energy or highest signal-to-noise ratio at a particular period of time.
Various features, nature, and advantages may become apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout.
In the following description, specific details are given to provide a thorough understanding of the configurations. However, it will be understood by one of ordinary skill in the art that the configurations may be practiced without these specific detail. For example, circuits may be shown in block diagrams in order not to obscure the configurations in unnecessary detail. In other instances, well-known circuits, structures and techniques may be shown in detail in order not to obscure the configurations.
Also, it is noted that the configurations may be described as a process that is depicted as a flowchart, a flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination corresponds to a return of the function to the calling function or the main function.
In one or more examples and/or configurations, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code means in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above are also be included within the scope of computer-readable media.
Moreover, a storage medium may represent one or more devices for storing data, including read-only memory (ROM), random access memory (RAM), magnetic disk storage mediums, optical storage mediums, flash memory devices and/or other machine readable mediums for storing information.
Furthermore, configurations may be implemented by hardware, software, firmware, middleware, microcode, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a computer-readable medium such as a storage medium or other storage(s). A processor may perform the necessary tasks. A code segment may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.
In a mobile device containing two or more microphones, all microphones other than the primary microphone may be referred to as secondary microphones. One feature provides a mechanism that monitors secondary microphone signals, in a multi-microphone mobile device, to warn the user if one or more secondary microphones are covered while the mobile device is in use. A method is provided to detect whether any of the secondary microphones in the mobile device are covered. Various signal characteristics for signals from the primary microphone and the secondary microphone may be used to determine if a secondary microphone has been covered or obstructed. Such signal characteristics may include, for example, signal power, signal-to-noise ratio (SNR), energy, correlation, combinations thereof and/or derivations thereof. For instance, one approach may compute smoothly averaged power estimates of the secondary microphones and compare them against the noise floor estimate of a primary microphone. Microphone covering detection is made by comparing the secondary microphone smooth power estimates with a noise floor estimate for the primary microphone. Once detection is made, a warning signal is generated and issued to the controlling processor of the mobile device. The warning to the user may be implemented in various ways including vibration of the mobile device, sound signals to the user, display of a message on a mobile device display, for example. The warning system may be helpful to the user and the user may derive improved sound capture from a multi-microphone mobile device.
The multi-microphone mobile devices 102 and 202 in
The mobile devices 102 and 202 may be configured or adapted to detect microphone coverings and issue a warning signal to the user. Issuance of warning signal can be helpful in maintaining the high voice quality provided by multi-microphone signal processing solutions. However, the techniques described herein are not limited to any particular method of detection or to any particular mobile device. The detection and warning system may be used in a mobile device that uses multiple microphones. Furthermore, the particular type of warning system used is not constrained by this disclosure. The mobile device manufacturer or the mobile carrier may use our detection mechanism to implement their desired type of warning system.
Multiple microphone signal processing solutions may be used in mobile voice communication systems for achieving higher voice quality even in hostile environments. Due to limitations of space on a mobile device, two-microphone solutions may be used. While some of the examples described herein may utilize two microphones, the methods are not limited to two microphone devices and can be implemented in a mobile device with more than two microphones as well.
For example, consider the mobile devices 102 and 202 with two microphones where one microphone is mounted on the front and the other microphone is mounted on the back of the device. In one configuration, the microphone on the front may be primarily used for recording the desired speech coming from the user of the mobile device. Many mobile devices have at least one microphone on the front or at least close to the mouth of the user so that it can capture the desired speech or sound. This first microphone 104 and 204 may be referred to as a primary microphone. A primary microphone may be selected such that it is unlikely to be covered (e.g., accidentally, unintentionally, purposefully or otherwise) during use. The second microphone 108 and 208 on the back of the mobile device may be used for capturing extra information, such as information about the background noise. The second microphone 108 and 208 may be referred to as a secondary microphone since its signal is used to improve a signal from a primary microphone. The extra information is utilized by the advanced signal processing techniques for suppressing background noise and enhancing voice quality. The signal processing algorithms rely on the second microphone to obtain such extra information for improving speech in noisy scenarios. However, it is not uncommon for the user to cover, obstruct, or otherwise block the back (secondary) microphone (e.g., by accident or on purpose) while talking. In this case, the performance of the signal processing algorithm suffers as it may not be able to extract useful information from the secondary microphone signal. In some cases, the user may partially cover the back (secondary) microphone 108 and 208 or he/she may gradually cover the back microphone over a period of time. In this case, the performance of the signal processing algorithm may deteriorate over a period of time. In either case, the advantage of having a secondary microphone on the mobile device is lost either completely or partially.
To rectify the problem of covering of a secondary microphone, the mobile devices 102 and 202 may be configured or adapted to detect when or if a microphone is fully or partially covered, obstructed, or otherwise blocked and warn the user of such situation. According to one example, the energy levels and/or noise floors for a primary microphone and at least one secondary microphone may be obtained and compared to detect whether the second microphone is covered, obstructed or blocked. Once detection is made, a warning signal may be issued to the user. The warnings may be repeated until the user uncovers the affected secondary microphone. Furthermore, the detector output can also be exploited by the advanced signal processing modules in the mobile device. If a mobile device contains more than two microphones, all microphones other than the primary microphone may be referred to as secondary microphones.
In some configurations, a primary microphone may be dynamically selected from a plurality of microphones based on which microphone has the best signal quality at a particular period of time. For example, the microphone having the largest signal energy (e.g., signal power) or signal to noise ratio (SNR) may be selected as the primary microphone while one or more of the remaining microphones are used as secondary microphones.
A secondary microphone cover detection module 328 may be configured or adapted to receive the digitized acoustic signals 312, 314 and 315 and determine whether the corresponding secondary microphone is fully or partially obstructed, blocked, or otherwise impaired. Such determination may be made by comparing a first signal characteristic from the primary microphone 306 and a second signal characteristic from the secondary microphone 308. Such signal characteristics may include, for example, signal power, signal-to-noise ratio (SNR), energy, correlation, combinations thereof and/or derivations thereof.
The response of a microphone to a given level of sound pressure may be quantified by a factor called sensitivity. If a microphone has high sensitivity, it produces a high signal level for a given level of sound pressure. In a typical mobile device, the sensitivities of the primary and secondary microphones may differ, for example, by as much as six (6) dB. To allow for higher difference margins, one configuration may assume that the sensitivities of the primary and secondary microphones 306 and 308 may differ by as much as twelve (12) dB. For example, in a two-microphone mobile device, the secondary microphone cover detection module 328 may monitor the background noise level in the primary microphone 306 and the secondary microphone 308 and then may compare the two noise levels to detect covering of the secondary microphone 308. If the sensitivities of the two microphones 306 and 308 are identical, then the noise levels in the two microphone signals are likely to be close to each other. Even if the two microphones 306 and 308 have different sensitivities, the noise level in the secondary microphone signal is not likely to differ by more than twelve (12) to fifteen (15) dB compared to the noise level in the primary microphone signal, since a maximum of twelve (12) dB difference is assumed in the microphone sensitivities. However, if the secondary microphone 308 is covered, noise level in the secondary microphone 308 is likely to become abnormally low (e.g., a difference of more than 12 dB). This principle may be used as the condition for detecting covering of the secondary microphone 308. If the secondary microphone cover detection module 328 determines that the secondary microphone 308 is covered or obstructed, it may generate a warning to the user. The warning may be, for example, a beep sound, a preprogrammed voice message, a ring, or any other audible alert. Similarly, the warning may be, for example, a flash of a mobile device display or icon or message in the display, or any other visible alert. The warning may also be any combination of audible and visible alerts to the user.
In one example, the digitized signals sampled by the analog-to-digital converters 316, 318, and 319 may pass through one or more buffers (which may be part of the detection module 328 or distinct modules, for example) to segment them into blocks or frames. In some examples, a block may comprise a plurality of frames. Such buffers may have preset sizes that store a plurality of signal samples making up a block or frame. An analog-to-digital converter and corresponding buffer may be referred to as a signal segmenter. The comparison between the first signal characteristic for the first signal (primary microphone 306) and the second signal characteristic for the second signal (secondary microphone 308) may then be performed on their corresponding blocks or frames. Such signal characteristics may include, for example, signal power, signal-to-noise ratio (SNR), energy, correlation, combinations thereof and/or derivations thereof.
The mobile device 302 may also include a signal processor 322 configured or adapted to perform one or more operations that improve the quality of the signal 312 from the primary microphone 306 by using the acoustic signal 314 from the secondary microphone 308. For instance, the acoustic signal 314 from the secondary microphone 308 may be used to remove or minimize noise from the primary microphone 306. The resulting signal may then be transmitted over a wireless or wired communication network 304 by a transmitter/receiver module 324.
The mobile device 302 may also receive sound signals from the communication network 304 through the transmitter/receiver module 324, where it may be processed by the signal processor 322 before passing through a digital-to-analog converter 320. The received signal then passes to the at least one speaker 310 so it can be acoustically transmitted to the user as an acoustic signal output 326.
A determination is then made as to whether the secondary microphone may be obstructed based on the first signal characteristic and second signal characteristic 412. For instance, if a ratio between the first signal characteristic and second signal characteristic is less than a threshold, it may be concluded that the secondary microphone is obstructed or covered. In one example, such comparison may be between a ratio between a second noise level for the secondary sound signal and a first noise level for the primary sound signal. Alternatively, the comparison may be performed as a ratio between a power level of the secondary sound signal and a noise level of the primary sound signal. If the secondary microphone is determined to be obstructed, a warning is provided (to the user) indicating that the secondary microphone may be obstructed 414. The primary sound signal may then be processed to either reduce noise or enhance audio/sound quality (or both) by using the secondary sound signal 416. The processed primary sound signal may then be transmitted to an intended listener over a communication network 418.
Estimation of Noise Level in Microphone Signals
In one example, segmentation of the sound signals into frames may be performed by analog-to-digital converters that sample the signals and passes the samples to preset buffers. Each buffer may be sized to provide a frame corresponding to one of the sampled sound signals. An analog-to-digital converter and corresponding buffer may be referred to as a signal segmenter.
The primary and secondary microphone signals may be denoted by the variables s1(n) and s2(n), where n represents time in samples. Block power estimates may be calculated for each frame 504 and 508 by adding, for example, the power values of all the samples in the frame. For example, the block power estimate calculation may be performed according to Equations 1 and 2:
where P1(k) and P2(k) denote the block power estimates for the primary and secondary microphone signals s1 and s2, respectively, k denotes a block index or a frame index for the blocks or frames for each signal.
The noise floor estimates may be obtained by tracking the minimum power estimates of the respective microphone signals. Noise floor estimates of the two microphone signals may be computed by searching for the minimum of the block power estimates over several frames, say K consecutive frames, for example, according to Equations 3 and 4:
where N1(m) and N2(m) denote the noise floor estimates of the primary and secondary microphone signals, respectively, and m denotes the multiple frame index that corresponds to a period of K consecutive frames. Consequently, the first plurality of frames may be searched to obtain a first minimum energy term corresponding to a first noise floor estimate for the first sound signal 510. Similarly, the second plurality of frames may be searched to obtain a second minimum energy term corresponding to a second noise floor estimate for the first sound signal 512.
In one example, the noise floor estimate may be computed once in every K consecutive frames and its value is retained until the noise floor estimate is computed again after the next K consecutive frames.
Np(m)=β1Np(m−1)+(1−β1)N1(m)0<β1<1
Ns(m)=β2Ns(m−1)+(1−β2)N2(m)0<β2<1 (Equations 5 & 6)
where Np(m) and Ns(m) denote the smooth noise floor estimates of the primary and secondary microphone signals respectively, and β1 and β2 denote the smoothing factor for averaging the noise floor estimates of the primary and secondary microphone signals respectively. The smoothed noise floor estimates Np(m) and Ns(m) may represent estimates of the average background noise power in the primary and secondary microphone signals, respectively. Here, the smoothing factor β2 may be chosen lower than β1 in order to allow faster tracking of noise level in the secondary microphone signal.
Detection Procedure
The testing criterion for microphone covering detection may be implemented, for example, by obtaining a ratio of the second noise floor estimate (secondary sound signal) to the first noise floor estimate (primary sound signal) 516. The detection may be performed by determining whether the ratio of the second noise floor estimate to the first noise floor estimate less than a threshold value 518 as follows:
where m denotes a multiple frame index (e.g., a plurality of frames).
If the ratio is less than or equal to the threshold value η, the secondary microphone may be assumed to be covered and a warning may be provided to the user 520. To achieve good detection performance, the threshold η may be selected based on knowledge of the difference between the sensitivities of the primary and secondary microphones.
There may, however, be a problem with using noise floor estimate for measuring the noise level in the microphone signal. Noise floor estimation typically suffers from considerable delay due to the minima searching over several frames. When the secondary microphone is covered, its noise floor estimate, Ns(m), may reflect the noise level dip due to microphone covering only after several frames. This delay may not be tolerable if faster detection of microphone covering is desired. On the other hand, the primary microphone does not typically get covered (e.g., accidentally, unintentionally, purposefully or otherwise), and delay in the noise floor estimation of the primary microphone signal may be tolerable. Hence, an alternate detection criterion for performing faster detection of secondary microphone covering may be used.
The primary sound signal may then be processed to either reduce noise or enhance sound quality (or both) by using the secondary sound signal 522. The processed primary sound signal may then be transmitted to an intended listener over a communication network 524.
Q2(k)=α2Q2(k−1)+(1−α2)P2(k)0<α1<1 (Equation 8)
where k denotes a block index or a frame index for the blocks or frames for the secondary sound signal, and α2 denotes the smoothening factor for averaging the block power estimates of the secondary sound signal. The higher the value of the smoothening factor α2, the lower the variance of the smoothened block power estimate Q2(k).
A first noise floor estimate may be obtained for a primary sound signal block for a primary microphone 808, where the primary sound signal block corresponds to the secondary sound signal block (e.g., the signal blocks may be obtained within overlapping time windows). This first noise floor estimate may be smoothened over a range of signal blocks to minimize discontinuities in the estimates. A ratio between the smooth block power estimate Q2(k) and the first noise floor estimate may then be obtained 810, for example, by Equation 9:
where k denotes a block index or a frame index, m denotes a multiple frame index, and M is an integer. A determination may then be made as to whether the ratio of the smooth block power estimate to the (smooth) noise floor estimate is less than a threshold value η′ 812. If the test ratio is less than the threshold η′, it may be declared that the secondary microphone is covered and a warning may be provided indicating that the secondary microphone may be obstructed 814. Note that, if the secondary microphone is not covered, then the smooth block power estimate Q2(k) may be an over estimate of the noise level in the secondary sound signal. If the secondary microphone is partially covered, this method may not detect such condition well. However, the threshold η′ may be raised or lowered until a desired detection performance is achieved.
The primary sound signal (e.g., for a primary microphone) may be processed to either reduce noise or enhance sound quality (or both) by using the secondary sound signal 816 before it is transmitted to an intended listener over a communication network 818.
Finally, the detection may also be made more robust by monitoring the detector output over a number of frames and testing if the detector consistently detects secondary microphone covering for at least, say 80% of the time.
Once enough detections are observed, it is determined whether the secondary microphone is covered and a warning signal may be issued to the controlling processor of the communication device or mobile device. The warning signal may be as simple as setting the microphone cover status flag to one (1) if the detection is made and setting it back to zero (0) when the detection fails. For instance, such warning signal may cause, for example, an audio signal to be acoustically transmitted to the user, or a text or graphic indicator or message to be displayed to the user (on a display screen for the mobile device), a light to blink on the mobile device, or a vibration of the mobile device.
According to yet another configuration, a circuit in a mobile device may be configured or adapted to receive a first acoustic signal via a primary microphone to obtain a primary sound signal. The same circuit, a different circuit, or a second section of the same or different circuit may be configured or adapted to receive a second acoustic signal via a secondary microphone to obtain a secondary sound signal. In addition, the same circuit, a different circuit, or a third section of the same or different circuit may be configured or adapted to obtain a first signal characteristic for the primary sound signal. Similarly, the same circuit, a different circuit, or a fourth section may be configured or adapted to obtain a second signal characteristic for the secondary sound signal. The portions of the circuit configured or adapted to obtain the first and second sound signals may be directly or indirectly coupled to the portion of the circuit(s) that obtain the signal characteristics, or it may be the same circuit. A fourth section of the same or a different circuit may be configured or adapted to determine whether the secondary microphone is obstructed based on the first signal characteristic and second signal characteristic. For instance, the first signal characteristic may be a first noise floor estimate for the primary sound signal and the second signal characteristic may be a second noise floor estimate for the secondary sound signal. In another example, the first signal characteristic is a first noise floor estimate for the primary sound signal and the second signal characteristic is a second smoothened power estimate for the secondary sound signal. A fifth section of the same or a different circuit may be configured or adapted to provide a warning indicating that the secondary microphone is obstructed. The fifth section may advantageously be coupled to the fourth section, or it may be embodied in the same circuit as the fourth section. One of ordinary skill in the art will recognize that, generally, most of the processing described in this disclosure may be implemented in a similar fashion. Any of the circuit(s) or circuit sections may be implemented alone or in combination as part of an integrated circuit with one or more processors. The one or more of the circuits may be implemented on an integrated circuit, an Advance RISC Machine (ARM) processor, a digital signal processor (DSP), a general purpose processor, etc.
In various examples, the obstruction detection method described herein is illustrated for few types of mobile devices and microphone configurations. However, this method is not limited to a fixed type of mobile device or microphone configuration. Furthermore, in a mobile device with multiple secondary microphones, the proposed detection procedure can be used for detecting covering of any of the secondary microphones.
One or more of the components, steps, and/or functions illustrated in
Those of skill in the art would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the configurations disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system.
The various features described herein can be implemented in different systems. For example, the secondary microphone cover detector may be implemented in a single circuit or module, on separate circuits or modules, executed by one or more processors, executed by computer-readable instructions incorporated in a machine-readable or computer-readable medium, and/or embodied in a handheld device, mobile computer, and/or mobile phone.
It should be noted that the foregoing configurations are merely examples and are not to be construed as limiting the claims. The description of the configurations is intended to be illustrative, and not to limit the scope of the claims. As such, the present teachings can be readily applied to other types of apparatuses and many alternatives, modifications, and variations will be apparent to those skilled in the art.
Number | Name | Date | Kind |
---|---|---|---|
5524059 | Zurcher | Jun 1996 | A |
5978490 | Choi et al. | Nov 1999 | A |
6705319 | Wodicka et al. | Mar 2004 | B1 |
7492909 | Carter, Jr. | Feb 2009 | B2 |
20020037088 | Dickel et al. | Mar 2002 | A1 |
20040057593 | Pedersen et al. | Mar 2004 | A1 |
20040165735 | Opitz | Aug 2004 | A1 |
20040240676 | Hashimoto et al. | Dec 2004 | A1 |
20050213778 | Buck et al. | Sep 2005 | A1 |
20050239516 | Gonopolskiy | Oct 2005 | A1 |
20050276423 | Aubauer et al. | Dec 2005 | A1 |
20060120540 | Luo | Jun 2006 | A1 |
20060198529 | Kjems et al. | Sep 2006 | A1 |
20070047744 | Harney et al. | Mar 2007 | A1 |
20070086602 | Petersen et al. | Apr 2007 | A1 |
20080013749 | Konchitsky | Jan 2008 | A1 |
20090190769 | Wang et al. | Jul 2009 | A1 |
20090323977 | Kobayashi et al. | Dec 2009 | A1 |
Number | Date | Country |
---|---|---|
1191817 | Mar 2002 | EP |
1458216 | Sep 2004 | EP |
2002540696 | Nov 2002 | JP |
2004343700 | Dec 2004 | JP |
2096928 | Nov 1997 | RU |
2198482 | Feb 2003 | RU |
WO2006021555 | Mar 2006 | WO |
Entry |
---|
International Search Report and Written Opinion—PCT/US09/032407, International Searching Authority—European Patent Office, May 7, 2009. |
Martin, R., “Spectral Subtraction Based on Minimum Statistics,” in Proc. Eur. Signal Processing Conf., 1994, pp. 1182-1185. |
Number | Date | Country | |
---|---|---|---|
20090196429 A1 | Aug 2009 | US |