Sound localization device and method
By using a combination of spatial feature generator, speech detector and angle retriever in sound localization technology, the accuracy problem of speech angle estimation under noise interference is solved, and the accuracy of speech angle judgment in noisy environment is achieved. and stability improvements.
Patent Information
- Application Number
- CN202010261340.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-01-22
- Filing Date
- 2020-04-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-04-03
AI Technical Summary
Existing sound localization technology is difficult to accurately estimate the angle of speech under noise interference. Especially in noisy environments, it is easy to mistake noise for speech, resulting in an increase in misjudgment rates and a decrease in success rate.
Using a device and method including a spatial feature generator, a speech detector, an angle selector and an angle retriever, the estimated angle signal is output by generating a spatial feature signal, detecting a speech signal, selecting a candidate angle and judging the presence of a sound source, combined with Storage and lookback mechanisms to improve accuracy.
Effectively and appropriately determine the voice angle, reduce the misjudgment rate, and improve the accuracy and stability of voice positioning in noisy environments.
Smart Images

Figure CN113156370B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a positioning device and method, and in particular to a sound positioning device and method. Background Art
[0002] Microphone arrays are often used in hands-free devices or conference devices. These devices usually use sound localization technology to estimate the direction of sound (or the angle of sound) to enhance signal reception.
[0003] Since the microphones of the microphone array are arranged separately, there will be a time difference when different microphones receive the same sound signal; when the incident angle of the sound signal is different, the time difference will also be different. A common sound localization technology is based on the above time difference to calculate the spatial characteristics of the incident angles of multiple sound signals, and then estimate the sound angle based on the strength of these spatial characteristics. Some common techniques for calculating spatial characteristics can be found in the following references:
[0004] Reference 1: JHDiBiase, "A high-accuracy, low-latency technique for talker localization in reverberant environments using microphone arrays", 2000.
[0005] Reference 2: HLVan Trees, “Optimum array processing–Part IV of detection, estimation, and modulation theory”, Chapter 6, 2002.
[0006] In order to improve the accuracy of angle estimation under noise interference, speech detection technology can be used to improve stability before calculating spatial features or when determining the sound angle, as described in US Patent Publication US2002 / 0097885 A1. However, when the energy of music or babble-type noise increases, the probability of misjudgment of speech detection technology will increase accordingly, which makes it easy for current sound localization technology to mistake the direction of noise for the direction of speech; in addition, noisy environments will reduce the success rate of speech detection technology, making it difficult for current sound localization technology to properly determine the direction of speech.
[0007] Another prior art (US Pat. No. 6,990,193 B2) discloses an echo cancellation technology, but does not solve the aforementioned problem. Summary of the invention
[0008] One purpose of the present disclosure is to disclose a sound localization device and method that can appropriately determine the voice angle.
[0009] An embodiment of the sound localization device disclosed in the present invention comprises a spatial feature generator, a speech detector, an angle selector and an angle retriever. The spatial feature generator is used to generate M spatial feature signals based on signals of N microphones of a microphone array, wherein both N and M are integers greater than one. The speech detector is used to generate at least one speech detection signal based on at least one of the signals of the N microphones. The angle selector is used to output a candidate angle signal to indicate a candidate sound angle based on the M spatial feature signals. The angle retriever is used to generate a sound source detection result based on the M spatial feature signals to indicate whether any sound source exists, and then output an estimated angle signal based on the sound source detection result, the at least one speech detection signal and the candidate angle signal.
[0010] Another embodiment of the sound localization device disclosed in the present invention also includes a spatial feature generator, a voice detector, an angle selector and an angle retriever. The spatial feature generator is used to generate M spatial feature signals based on signals of N microphones of a microphone array, wherein both N and M are integers greater than one. The voice detector is used to generate X voice detection signals based on X spatial feature signals of the M spatial feature signals, wherein X is a positive integer not greater than M. The angle selector is used to output a candidate angle signal to indicate a candidate sound angle based on the M spatial feature signals. The angle retriever is used to generate a sound source detection result based on the M spatial feature signals to indicate whether any sound source exists, and then output an estimated angle signal based on the sound source detection result, the X voice detection signals and the candidate angle signal.
[0011] An embodiment of the sound localization method disclosed in the present invention is performed by an angle retriever. The embodiment includes the following steps: judging whether there is any sound source currently based on M spatial feature signals, wherein the M spatial feature signals are generated based on signals of N microphones of a microphone array, and both N and M are integers greater than one; judging whether there is currently voice based on at least one voice detection signal, wherein the at least one voice detection signal is generated based on at least one of the signals of the N microphones or at least one of the M spatial feature signals; if it is judged that there is no sound source currently, outputting a candidate angle signal as an estimated angle signal, wherein the candidate angle signal is generated based on the M spatial feature signals and is used to indicate a candidate sound angle; if it is judged that there is currently at least one sound source and voice, storing the candidate angle signal in a storage circuit, and outputting the candidate angle signal as the estimated angle signal; and if it is judged that there is currently at least one sound source and no voice, retrieving a previously stored candidate angle signal from the storage circuit, and outputting the previously stored candidate angle signal as the estimated angle signal.
[0012] The features, practical operation and efficacy of the present invention are described in detail below with reference to the accompanying drawings as preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 An embodiment of the sound localization device disclosed in the present invention is shown;
[0014] Figure 2 Show Figure 1 An embodiment of the multiple steps performed by the angle retriever;
[0015] Figure 3 Another embodiment of the sound localization device disclosed in the present invention is shown; and
[0016] Figure 4 An embodiment of the sound localization method disclosed in the present invention is shown. DETAILED DESCRIPTION
[0017] The present disclosure provides a sound localization device and method, which can appropriately determine the direction of speech.
[0018] Figure 1 An embodiment of the sound localization device disclosed in the present invention is shown. Figure 1 The sound localization device 100 comprises a spatial feature generator 110, a speech detector 120, an angle selector 130 and an angle retriever 140. The spatial feature generator 110 is used to generate a spatial feature according to the signals (S MIC-1 To S MIC-N ) generates M spatial feature signals (S SF-1 To SSF-M ) correspond to M angles respectively, wherein N and M are both integers greater than one, and N and M may be equal to or different from each other. The speech detector 120 is used to generate at least one speech detection signal (S) according to at least one of the signals of the N microphones. SP ); Depending on the implementation requirements, the voice detector 120 can be designed to detect human voice or other sounds. The angle selector 130 is used to output a candidate angle signal (S) according to the M spatial feature signals. CA ) indicates a candidate sound angle; for example, the angle selector 130 selects the one with the largest eigenvalue (or the one with the largest intensity) among the M spatial feature signals as the candidate angle signal. The angle retriever 140 is used to generate a sound source detection result based on the M spatial feature signals to indicate whether there is any sound source. The sound source detection result can be a signal of hardware or an algorithm result of software / firmware; then, the angle retriever 140 outputs an estimated angle signal (S) based on the sound source detection result, the at least one voice detection signal and the candidate angle signal. EA ).
[0019] See also Figure 1 . The spatial feature generator 110 may use known or self-developed techniques to generate the M spatial feature signals; for example, the spatial feature generator 110 uses at least one of the following algorithms to generate the M spatial feature signals: a Steered Response Power (SRP) algorithm; a Generalized Cross Correlation (GCC) algorithm; and a Generalized Cross Correlation-Phase Transform (GCC-PHAT) algorithm. The introduction of the above algorithms can be found in the aforementioned reference 1. In addition, in order to improve the continuity of the angle estimation, the spatial feature generator 110 may selectively use a known or self-developed recursive algorithm to perform a smoothing process on the M spatial feature signals.
[0020] See also Figure 1 The voice detector 120 is used to detect whether the signal has a specific feature (eg, pitch or energy) to generate the at least one voice detection signal. The voice detector 120 can be implemented by a known technology (eg, https: / / en.wikipedia.org / wiki / Voice_activity_detection) or a self-developed technology.
[0021] See also Figure 1The angle retriever 140 performs a plurality of steps to determine the estimated angle signal. An example of the plurality of steps is as follows: Figure 2 As shown, including:
[0022] S210: Determine whether any sound source currently exists based on the M spatial characteristic signals. In an exemplary embodiment, step S210 includes at least one of the following steps to determine whether any sound source exists: a first step for determining whether any sound source currently exists based on a maximum value of the M spatial characteristic signals, an average value of the M spatial characteristic signals, and a first threshold; a second step for determining whether any sound source currently exists based on the maximum value, a minimum value of the M spatial characteristic signals, and a second threshold; and a third step for determining whether any sound source currently exists based on the maximum value and a third threshold. For example, the first step is used to determine whether the maximum value is greater than the product of the first threshold and the average value, so as to determine that a sound source exists when the result of the determination is "yes"; the second step is used to determine whether the maximum value is greater than the product of the second threshold and the minimum value, so as to determine that a sound source exists when the result of the determination is "yes"; and the third step is used to determine whether the maximum value is greater than the third threshold, so as to determine that a sound source exists when the result of the determination is "yes". Those skilled in the art may determine the first, second and third thresholds according to implementation requirements.
[0023] S220: Determine whether there is currently voice according to the at least one voice detection signal.
[0024] S230: If it is determined that no sound source currently exists, output the candidate angle signal as the estimated angle signal.
[0025] S240: If it is determined that there is at least one sound source and speech, the candidate angle signal is stored in the storage circuit 20, and the candidate angle signal is output as the estimated angle signal.
[0026] S250: If it is determined that the at least one sound source currently exists and no speech exists, a previously stored candidate angle signal is retrieved from the storage circuit, and the previously stored candidate angle signal is output as the estimated angle signal.
[0027] Because a person skilled in the art can utilize known and / or self-developed technologies to implement the angle retriever 140 according to the present disclosure, redundant descriptions are omitted here.
[0028] Figure 3 Another embodiment of the sound localization device disclosed in the present invention is shown. Figure 3The sound localization device 300 comprises a spatial feature generator 310, a speech detector 320, an angle selector 330 and an angle retriever 340. The spatial feature generator 310 is used to generate M spatial feature signals according to signals of N microphones of a microphone array, wherein both N and M are integers greater than one. The speech detector 320 is used to generate X speech detection signals (S) according to X spatial feature signals of the M spatial feature signals. SP-1 To S SP-X ), wherein X is a positive integer not greater than M. The angle selector 330 is used to output a candidate angle signal to indicate a candidate sound angle according to the M spatial feature signals. The angle retriever 340 is used to generate a sound source detection result according to the M spatial feature signals to indicate whether there is any sound source, and then output an estimated angle signal according to the sound source detection result, the X voice detection signals and the candidate angle signal.
[0029] See also Figure 3 In one exemplary embodiment, the spatial feature generator 310 uses the aforementioned controllable response power algorithm to generate the M spatial feature signals. In one exemplary embodiment, the speech detector 320 uses a known or self-developed technology to detect whether the signal has a specific feature to generate the X speech detection signals. In one exemplary embodiment, the angle retriever 340 performs multiple steps to determine the estimated angle signal, and an embodiment of the multiple steps includes: judging whether there is any sound source currently based on the M spatial feature signals; judging whether there is currently a speech based on the X speech detection signals; if it is judged that there is no sound source currently, outputting the candidate angle signal as the estimated angle signal; if it is judged that there is at least one sound source currently and there is speech, storing the candidate angle signal to the storage circuit 20, and outputting the candidate angle signal as the estimated angle signal; and if it is judged that there is at least one sound source currently and there is no speech, retrieving a previously stored candidate angle signal from the storage circuit 20, and outputting the previously stored candidate angle signal as the estimated angle signal.
[0030] Since ordinary technicians in this field can refer to Figure 1 to Figure 2 The disclosure of the embodiments of the present invention is for understanding Figure 3 Details and variations of the embodiments of Figure 1 to Figure 2 The technical features of the embodiments can be reasonably applied to Figure 3 Therefore, repeated and redundant descriptions are omitted here.
[0031] Figure 4 An embodiment of the sound localization method of the present disclosure is shown, which is performed by an angle retriever (eg, the aforementioned angle retriever 140 / 340 ). Figure 4 The embodiment comprises the following steps:
[0032] S410: Determine whether any sound source currently exists based on M spatial characteristic signals, wherein the M spatial characteristic signals are generated based on signals of N microphones of a microphone array, and both N and M are integers greater than one.
[0033] S420: Determine whether there is currently voice according to at least one voice detection signal, wherein the at least one voice detection signal is generated according to at least one of the signals of the N microphones or at least one of the M spatial feature signals.
[0034] S430: If it is determined that no sound source currently exists, output a candidate angle signal as an estimated angle signal, wherein the candidate angle signal is generated based on the M spatial feature signals and is used to indicate a candidate sound angle.
[0035] S440: If it is determined that at least one sound source and speech are currently present, the candidate angle signal is stored in a storage circuit, and the candidate angle signal is output as the estimated angle signal.
[0036] S450: If it is determined that the at least one sound source currently exists and no speech exists, a previously stored candidate angle signal is retrieved from the storage circuit, and the previously stored candidate angle signal is output as the estimated angle signal.
[0037] Since ordinary technicians in this field can refer to Figures 1 to 3 The disclosure of the embodiments of the present invention is to understand Figure 4 Details and variations of the embodiments of Figures 1 to 3 The technical features of the embodiments can be reasonably applied to Figure 4 Therefore, repeated and redundant descriptions are omitted here.
[0038] Please note that, under the premise that implementation is possible, ordinary technicians in this technical field may selectively implement some or all of the technical features in any of the aforementioned embodiments, or selectively implement a combination of some or all of the technical features in the aforementioned multiple embodiments to increase the flexibility of the implementation of the present invention.
[0039] In summary, the present invention can appropriately determine the direction of speech through the operation of the angle retriever.
[0040] Although the embodiments of the present invention are described above, these embodiments are not intended to limit the present invention. A person skilled in the art may make changes to the technical features of the present invention according to the explicit or implicit contents of the present invention. All these changes may fall within the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention shall be subject to that defined in the claims of this specification.
[0041]
Explanation of symbols
[0042] 10-microphone array
[0043] 20 Storage circuit
[0044] 100 Sound localization device
[0045] 110 Spatial Feature Generator
[0046] 120 Voice Detector
[0047] 130 Angle selector
[0048] 140 Angle Retrieval
[0049] S MIC-1 To S MIC-N Signals from N microphones
[0050] S SF-1 To S SF-M M spatial characteristic signals
[0051] S SP Voice detection signal
[0052] S CA Candidate Angle Signal
[0053] S EA Estimated angle signal
[0054] S210 to S250 Steps
[0055] 300 Sound localization device
[0056] 310 Spatial Feature Generator
[0057] 320 Voice Detector
[0058] 330 Angle Selector
[0059] 340 Angle Retrieval
[0060] S SP-1 To S SP-X X voice detection signals
[0061] Steps S410 to S450.
Claims
1. A sound localization device, comprising: A spatial feature generator, used to generate M spatial feature signals according to signals of N microphones of a microphone array, wherein both N and M are integers greater than one; a speech detector for generating at least one speech detection signal according to at least one of the signals from the N microphones; an angle selector, configured to output a candidate angle signal indicating a candidate sound angle according to the M spatial feature signals; and an angle retriever, for generating a sound source detection result according to the M spatial feature signals to indicate whether any sound source exists, and then outputting an estimated angle signal according to the sound source detection result, the at least one speech detection signal and the candidate angle signal, The angle retriever performs a plurality of steps to determine the estimated angle signal, the plurality of steps comprising: Determine whether there is any sound source at present according to the M spatial characteristic signals; determining whether there is currently voice according to the at least one voice detection signal; If it is determined that no sound source currently exists, output the candidate angle signal as the estimated angle signal; If it is determined that at least one sound source and speech are currently present, storing the candidate angle signal in a storage circuit, and outputting the candidate angle signal as the estimated angle signal; and If it is determined that the at least one sound source currently exists and no speech exists, a previously stored candidate angle signal is retrieved from the storage circuit, and the previously stored candidate angle signal is output as the estimated angle signal.
2. The sound localization device according to claim 1, wherein the step of determining whether any sound source currently exists comprises at least one of the following steps: a first step for determining whether any sound source currently exists based on a maximum value of the M spatial feature signals, an average value of the M spatial feature signals and a first threshold; a second step for determining whether any sound source currently exists based on the maximum value, a minimum value of the M spatial feature signals and a second threshold; and a third step for determining whether any sound source currently exists based on the maximum value and a third threshold.
3. The sound localization device according to claim 2, wherein the first step is used to determine whether the maximum value is greater than the product of the first threshold and the average value; the second step is used to determine whether the maximum value is greater than the product of the second threshold and the minimum value; and the third step is used to determine whether the maximum value is greater than the third threshold.
4. A sound localization device, comprising: A spatial feature generator, used to generate M spatial feature signals according to signals of N microphones of a microphone array, wherein both N and M are integers greater than one; a speech detector, used for generating X speech detection signals according to X spatial feature signals of the M spatial feature signals, wherein X is a positive integer not greater than M; an angle selector, configured to output a candidate angle signal indicating a candidate sound angle according to the M spatial feature signals; and an angle retriever, for generating a sound source detection result according to the M spatial feature signals to indicate whether any sound source exists, and then outputting an estimated angle signal according to the sound source detection result, the X voice detection signals and the candidate angle signal, The angle retriever performs a plurality of steps to determine the estimated angle signal, the plurality of steps comprising: Determine whether there is any sound source at present according to the M spatial characteristic signals; Determine whether there is currently voice according to the X voice detection signals; If it is determined that no sound source currently exists, output the candidate angle signal as the estimated angle signal; If it is determined that at least one sound source and speech are currently present, storing the candidate angle signal in a storage circuit, and outputting the candidate angle signal as the estimated angle signal; and If it is determined that the at least one sound source currently exists and no speech exists, a previously stored candidate angle signal is retrieved from the storage circuit, and the previously stored candidate angle signal is output as the estimated angle signal.
5. The sound localization device according to claim 4, wherein the step of determining whether any sound source currently exists comprises at least one of the following steps: a first step for determining whether a maximum value of the M spatial characteristic signals is greater than the product of an average value of the M spatial characteristic signals and a first threshold value, so as to determine whether any sound source currently exists; a second step for determining whether the maximum value is greater than the product of a minimum value of the M spatial characteristic signals and a second threshold value, so as to determine whether any sound source currently exists; and a third step for determining whether the maximum value is greater than a third threshold value, so as to determine whether any sound source currently exists.
6. A sound positioning method is performed by an angle retriever, the sound positioning method comprising: Determine whether any sound source currently exists according to M spatial characteristic signals, wherein the M spatial characteristic signals are generated according to signals of N microphones of a microphone array, and both N and M are integers greater than one; Determining whether there is currently speech according to at least one speech detection signal, wherein the at least one speech detection signal is generated according to at least one of the signals of the N microphones or at least one of the M spatial feature signals; If it is determined that no sound source currently exists, outputting a candidate angle signal as an estimated angle signal, wherein the candidate angle signal is generated based on the M spatial feature signals and is used to indicate a candidate sound angle; If it is determined that at least one sound source and speech are currently present, storing the candidate angle signal in a storage circuit, and outputting the candidate angle signal as the estimated angle signal; and If it is determined that the at least one sound source currently exists and no speech exists, a previously stored candidate angle signal is retrieved from the storage circuit, and the previously stored candidate angle signal is output as the estimated angle signal.
7. The sound localization method according to claim 6, wherein the step of determining whether any sound source currently exists comprises at least one of the following steps: a first step for determining whether any sound source currently exists based on a maximum value of the M spatial feature signals, an average value of the M spatial feature signals and a first threshold; a second step for determining whether any sound source currently exists based on the maximum value, a minimum value of the M spatial feature signals and a second threshold; and a third step for determining whether any sound source currently exists based on the maximum value and a third threshold.
8. The sound localization method according to claim 7, wherein the first step is used to determine whether the maximum value is greater than the product of the first threshold and the average value; the second step is used to determine whether the maximum value is greater than the product of the second threshold and the minimum value; and the third step is used to determine whether the maximum value is greater than the third threshold.
