Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DEVICE AND METHOD FOR ESTIMATING DIRECTION OF ARRIVAL
Document Type and Number:
WIPO Patent Application WO/2018/196952
Kind Code:
A1
Abstract:
The invention provides a device (100) for estimating Direction of Arrival (DOA) of sound from ℚ ≥ 1 sound sources (202). The device (100) is configured to obtain a phase difference matrix, which includes measured phase difference values, each of the measured phase difference values being a measured value of a phase difference between two microphone units (203) for a frequency bin in a range of frequencies of the sound. The device (100) is further configured to generate a replicated phase difference matrix by replicating the measured phase difference values to other potential sinusoidal periods, calculate a DOA value for each phase difference value in the replicated phase difference matrix, and determine, as ℚ DOA results, the ℚ most prominent peak values in a histogram generated based on the calculated DOA values.

Inventors:
CHEN KAINAN (DE)
GEIGER JÜRGEN (DE)
TAGHIZADEH MOHAMMAD (DE)
GROSCHE PETER (DE)
Application Number:
PCT/EP2017/059732
Publication Date:
November 01, 2018
Filing Date:
April 25, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
CHEN KAINAN (DE)
International Classes:
G01S3/808; G01S3/80
Other References:
TOGAMI M ET AL: "Stepwise phase difference restoration method for DOA estimation of multiple sources", IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS,COMMUNICATIONS AND COMPUTER SCIENCES, ENGINEERING SCIENCES SOCIETY, TOKYO, JP, vol. E91A, no. 11, 1 November 2008 (2008-11-01), pages 3269 - 3281, XP001517415, ISSN: 0916-8508, DOI: 10.1093/IETFEC/E91-A.11.3269
Attorney, Agent or Firm:
KREUZ, Georg (DE)
Download PDF:
Claims:
CLAIMS

1. Device (100) for estimating Direction of Arrival (DOA) of sound from Q > 1 sound sources (202), the device (100) being configured to:

obtain a phase difference matrix, which includes measured phase difference values, each of the measured phase difference values being a measured value of a phase difference between two microphone units (203) for a frequency bin in a range of frequencies of the sound,

generate a replicated phase difference matrix by replicating the measured phase difference values to other potential sinusoidal periods,

calculate a DOA value for each phase difference value in the replicated phase difference matrix, and

determine, as Q DOA results, the Q most prominent peak values in a histogram generated based on the calculated DOA values.

2. Device (100) according to claim 1, configured to:

generate the replicated phase difference matrix by replicating the measured phase difference values based on the minimum aliasing frequency defined by wherein Ad denotes a distance between the two microphone units (203) and c is the speed of the sound.

3. Device (100) according to claim 2, wherein

the measured phase difference values in the phase difference matrix are wrapped into [-71, π], and

the device (100) is configured to generate the replicated phase difference matrix according to

cs = (-c -c + 1, . c)

i = 1. ... N; j = 1, ... 2C + 1) wherein μ0 denotes the phase difference matrix, μ denotes the replicated phase difference matrix, i is a frequency bin index corresponding to frequency /£ , j is a replication index, and |*1 denotes the ceiling function.

4. Device (100) according to claim 3, configured to:

calculate the DOA values based on the formula μ(ί,

θ (ί, = arcsin ^

2nfAd wherein 6> (ij) denotes the DOA value for frequency bin index i and replication index j , μ denotes the replicated phase difference matrix and Ad denotes a distance between the two microphone units (203).

5. Device (100) according to one of claims 1 to 4, configured to:

generate a first histogram from the calculated DOA values, and

determine, as the Q DOA results, the Q most prominent peak values in the first histogram.

6. Device (100) according to one of claims 1 to 4, configured to:

generate a first histogram from the calculated DOA values,

select, as Q + q DOA candidates, the Q + q most prominent peak values in the first histogram, wherein preferably q = 2,

generate a second histogram based on the selected Q + q DOA candidates, and determine, as the Q DOA results, the Q most prominent peak values in the second histogram.

7. Device (100) according to claim 5 or 6, configured to:

remove complex calculated DOA values, before generating the first histogram.

8. Device (100) according to claim 6 or according to claims 6 and 7, wherein, for generating the second histogram, the device (100) is configured to: determine, for each selected DOA candidate, its related DOA values from the calculated DOA values,

generate third histograms from each selected DOA candidate and its related DOA values, and

generate the second histogram by merging the third histograms of all selected

DOA candidates.

9. Device (100) according to claim 8, configured to:

merge the third histograms of all selected DOA candidates to generate the second histogram by

for each histogram index, using the maximum value from all the third histograms as the value of the second histogram for that histogram index.

10. Device (100) according to claim 8 or 9, configured to:

determine the related DOA values of a DOA candidate by

determining, as its related phase difference values, the phase difference values in the replicated phase difference matrix that are in supposed correct sinusoidal periods, and calculating its related DOA values from its related phase difference values.

1 1. Device (100) according to one of claims 8 to 10, configured to:

apply a soft mask to the peak values in each of the third histograms, before merging the third histograms into the second histogram,

wherein the soft mask is designed as a peak filter with a smaller width at a DOA of 0° and larger widths at DO As of ±90°.

12. Device (100) according to claim 1 1 , configured to:

apply a low-pass filter to the second histogram, before determining the Q DOA results, preferably a Gaussian filter with a standard deviation σ according to c

σ = arccos(l—

fsAd wherein fs denotes the sampling rate.

Device (100) according to one of claims 1 to 12, wherein each microphone unit (203) includes an array of one or more microphones, and the one or more measured phase difference values of the phase difference matrix have been obtained from measured phase differences between the one or more microphones of one of the microphone units (203) and the one or more microphones of the other one of the microphone units (203).

14. Apparatus (200) for determining Direction of Arrival (DOA) of sound from Q≥\ sound sources (202), the apparatus (200) comprising:

a device (100) according to one of claims 1 to 13, and

a sound receiver (201) including the two microphone units (203), which is configured to receive the sound, generate the phase difference matrix, and provide the phase difference matrix to the device (100).

15. Method of estimating Direction of Arrival (DOA) of sound from Q > 1 sound sources (202), the method comprising:

obtaining (111) a phase difference matrix, which includes measured phase difference values, each of the measured phase difference values being a measured value of a phase difference between two microphone units (203) for a frequency bin in a range of frequencies of the sound,

generating (112) a replicated phase difference matrix by replicating the measured phase difference values to other potential sinusoidal periods,

calculating (113) a DOA value for each phase difference value in the replicated phase difference matrix, and

determining (114), as Q DOA results, the Q most prominent peak values in a histogram generated based on the calculated DOA values.

Description:
DEVICE AND METHOD FOR ESTIMATING DIRECTION OF ARRIVAL

TECHNICAL FIELD The present invention relates to a device, to a corresponding method, and to an apparatus for estimating Direction of Arrival (DOA) from Q > 1 sound sources. In particular, the device and method perform a post-processing on a phase difference matrix, which is obtained, for instance, from a sound receiver adapted to receive the sound from the sound sources.

BACKGROUND

Most multichannel sound source DOA estimation algorithms suffer from spatial aliasing problems. As a consequence of spatial aliasing, interchannel phase differences are wrapped beyond the spatial aliasing frequency. A common solution for addressing this problem is to adjust a distance between microphones or microphone arrays receiving the sound generated by the sound sources, in order to obtain a suitable minimum aliasing frequency. Further, to then take only the frequency band below that minimum aliasing frequency for localizing the sound sources.

A conventional method for localizing sound sources using microphones is to estimate a Time Difference of Arrival (TDOA, At) from each sound source to the microphones. For narrow band localization algorithms, the TDOA can be estimated from the interchannel phase differences μί in each frequency band. The relationship between these phase differences and the TDOA is μ ί = 2nfito (1) where fi denotes the frequency of the narrowband. For a far-field assumption, DOA can further be estimated from the TDOA. The relationship between the phase differences μί and DOA, as expressed by an angle Θ of the sound source to the microphones, is shown in the below equation (2). In this equation, c denotes the speed of sound in the recording environment, and Ad denotes a distance between the microphones. 2nfi\sm 0\Ad

μι = c (2)

Conventional algorithms estimate narrowband DO A by estimating a phase difference Ιζ. However, when μ ί > 2π, " ίζ will be wrapped into [—π, π], which can be seen in Fig. 13 (on the left-hand side) for the higher frequencies. The correct, frequency-dependent phase differences are indicated here in Fig. 13 by the straight bold line, whereas incorrect, wrapped, frequency-dependent phase differences are shown along the jagged line. As a result, the estimated DO A will be wrong, which can also be seen in Fig. 13 (on the right- hand side). Here, the correct (frequency-independent) DO A is indicated by the horizontal bold line, whereas the incorrect (frequency-dependent) DO As are indicated along the jagged line. The illustrated problem is the so-called spatial aliasing problem.

The frequency at the boundary of the spatial aliasing problem is called the aliasing frequency f a . From the below equation (3), it can be seen that f a is related to the angle Θ , which is unfortunately unknown, so that the wrapped phase difference matrix ' μ; cannot directly be unwrapped for frequencies above f a .

The minimum aliasing frequency for a certain scenario is defined as f a , wherein 2|sin 0 |Aci

Conventionally, when a sound source is broad in frequency band, a Discrete Fourier transform (DFT) is applied. Then, the narrowband localization algorithm is repeated on each frequency. Thus, a "raw" phase difference vector is obtained for a single sound source scenario, and a "raw" phase difference matrix is obtained for a multisource scenario, which is defined as μ 0 . This phase difference matrix includes correct phase difference values only at f i < f aQ .

Therefore, conventionally only the lower frequency bands (/ £ < f aQ ) of the sound are taken into account for the localization, in order to avoid the spatial aliasing problem. This is a significant disadvantage of the conventional algorithms. SUMMARY

In view of the above-mentioned problems and disadvantages, the present invention aims at improving devices and methods that operate based on conventional localization algorithms, that is, for estimating DO A. The invention has the object of utilizing also higher frequency bands / £ > f aQ of sound for estimating DOA, especially for multichannel sound sources. The invention thereby aims towards a device and method enabling a more robust and accurate estimation of DOA and localization of sound sources. Specifically, when a distance between microphones or microphone arrays is large, the invention intends to improve over conventional devices and methods.

The object of the invention is achieved by the solution provided in the enclosed independent claims. Advantageous implementations of the invention are further defined in the dependent claims.

In particular, the idea of the invention is to use a replication of phase difference values in the phase difference matrix μ 0 , in order to reduce the impact of the spatial aliasing problem for single as well as multi sound source localization, and to apply further postprocessing that can make the technique more robust, e.g., in noisy scenarios. In particular, the invention involves reconstructing the phase difference matrix μ 0 by certain relationships between its phase difference values, utilizing the higher frequency bands fi > fa 0 r a more robust localization.

A first aspect of the invention provides a device for estimating DOA of sound from Q≥\ sound sources, the device being configured to obtain a phase difference matrix, which includes measured phase difference values, each of the measured phase difference values being a measured value of a phase difference between two microphone units for a frequency bin in a range of frequencies of the sound, generate a replicated phase difference matrix by replicating the measured phase difference values to other potential sinusoidal periods, calculate a DOA value for each phase difference value in the replicated phase difference matrix, and determine, as Q DOA results, the Q most prominent peak values in a histogram generated based on the calculated DOA values. Generating the replicated phase difference matrix enables a localization based on not only low frequencies but also high frequencies of wide-band sound sources, for greater robustness and accuracy, i.e. an improved estimation of the DOA. Specifically, higher frequency bands / £ > f a are utilized as well. Notably, if there is only one sound source, i.e. if Q = 1, the sound difference matrix is essentially a phase difference vector (matrix with one column). Basically, in the step of phase difference replication, the measured phase difference for a certain frequency or frequency band is unwrapped to a candidate set consisting of one or more other possible phase difference values which each differ from the measured phase difference value by an integer multiple of 2π (or 360°) (i.e., which lie in other sinusoidal periods). The replicated phase difference matrix will thus include all the correctly unwrapped phase differences (one correctly unwrapped phase difference for each measured phase difference) as well as a set of erroneously unwrapped phase differences. However, the correctly unwrapped phase differences will be more prominent in a histogram, and can thereby be identified.

In addition, selecting the DOA results based on most prominent peaks in a histogram is both efficient and accurate, and allows further post-processing steps that additionally improve the DOA estimation. A frequency bin may be a subrange of the range of frequencies of the sound, or may be a single frequency in the range of frequencies of the sound.

In an implementation form of the first aspect, the device is configured to generate the replicated phase difference matrix by replicating the measured phase difference values based on the minimum aliasing frequency defined by c

wherein Ad denotes a distance between the two microphone units and c is the speed of the sound.

Thereby, all of the potential aliasing frequencies are covered for the replication. Below the minimum aliasing frequency fao, phase differences cannot be wrapped, only above fao. In a further implementation form of the first aspect, the measured phase difference values in the phase difference matrix are wrapped into [-π, π], and the device is configured to generate the replicated phase difference matrix according to

C s = (-C, -C + I, . C)

i = 1. ... N; j = 1, ... 2C + 1) wherein μ 0 denotes the phase difference matrix, μ denotes the replicated phase difference matrix, i is a frequency bin index corresponding to frequency f t , j is a replication index, and f*] denotes the ceiling function.

In this manner, a replicated phase difference matrix can be generated efficiently, which covers all of the potentially correct sinusoidal periods of interchannel phase differences.

In a further implementation form of the first aspect, the device is configured to calculate the DOA values based on the formula

arcsin———

InfAd wherein denotes the DOA value for frequency bin index i and replication index j, μ denotes the replicated phase difference matrix and Ad denotes a distance between the two microphone units.

As explained above, the replicated phase difference matrix contains for each frequency bin a set of one or more candidate values of the correct phase difference for that frequency bin. Transforming each element of the replicated phase difference matrix into a DOA value generates a DOA matrix which contains for each frequency bin a set of one or more candidate values of the correct DOA for that frequency bin, including the actual correct DOA value. In a further implementation form of the first aspect, the device is configured to generate a first histogram from the calculated DOA values, and determine, as the Q DOA results, the Q most prominent peak values in the first histogram. This implementation form is particularly advantageous if the sound sources provide broadband signals and/or if the scenario is clean, i.e. if noise in the scenario is low. The selection of the peaks from the first histogram is a fast and simple way to obtain the DOA results, and leads to more robust and accurate results than using only low frequencies. In a further implementation form of the first aspect, the device is configured to generate a first histogram from the calculated DOA values, select, as Q + q DOA candidates, the Q + q most prominent peak values in the first histogram, wherein preferably q = 2, generate a second histogram based on the selected Q + q DOA candidates, and determine, as the Q DOA results, the Q most prominent peak values in the second histogram.

This implementation form is particularly advantageous if the scenario is noisy and/or if some of the sound sources are weak. In this case, these weak sound sources may contribute peaks to the first histogram which are likely to be less prominent than peaks resulting from spatial aliasing. Accordingly, the selection of q additional peaks, which are taken as candidates from the first histogram, makes the DOA estimation even more robust and accurate.

In a further implementation form of the first aspect, the device is configured to remove complex calculated DOA values before generating the first histogram.

Thereby, the DOA estimation becomes less complex and has a high accuracy. DOA values are complex only if the interchannel phase differences are in the wrong sinusoidal periods. In a further implementation form of the first aspect, for generating the second histogram, the device is configured to determine, for each selected DOA candidate, its related DOA values from the calculated DOA values, generate third histograms from each selected DOA candidate and its related DOA values, and generate the second histogram by merging the third histograms of all selected DOA candidates. By selecting the related DOA values for each candidate, and analyzing the third histograms individually, the interference between sources is reduced. Therefore the accuracy of the DOA estimation is further improved. In a further implementation form of the first aspect, the device is configured to merge the third histograms of all selected DOA candidates to generate the second histogram by, for each histogram index, using the maximum value from all the third histograms as the value of the second histogram for that histogram index. After merging, the correct peaks are clearer compared to the second histogram. This implementation of the merging of the histograms therefore leads to the desired result of an accurate and robust DOA estimation. Using the mean for merging instead of maximum would lead to error accumulation across the different histograms. The merging rule based on the maximum does not have this problem.

In a further implementation form of the first aspect, the device is configured to determine the related DOA values of a DOA candidate by determining, as its related phase difference values, the phase difference values in the replicated phase difference matrix that are in supposed correct sinusoidal periods, and calculating its related DOA values from its related phase difference values.

Thereby, values corresponding to incorrect sinusoidal periods are removed. A supposed correct sinusoidal period is that sinusoidal period, which would be the result of unwrapping based on the aliasing frequency that is determined based on the DOA of the candidate peak. In this way of the determination, the height of the peak will be conserved in the third histogram, if the peak is correct.

In a further implementation form of the first aspect, the device is configured to apply a soft mask to the peak values in each of the third histograms, before merging the third histograms into the second histogram, wherein the soft mask is designed as a peak filter with a smaller width at a DOA of 0° and larger widths at DOAs of ±90°.

The soft masking of the peak values improves the accuracy of the peaks selected from the third histogram as DOA results. Theoretically, the widths of the aliasing peaks are large whereas the widths of the correct peaks are narrow at 0° and the widths increase when the peaks are getting closer to ±90°. Therefore using the soft-mask in this way can help to detect the correct peaks more reliably. In a further implementation for of the first aspect, the device is configured to apply a low- pass filter to the second histogram, before determining the Q DOA results, preferably a Gaussian filter with a standard deviation σ according to σ = arccos(l

wherein f s denotes the sampling rate.

By use of such a Gaussian filter, the height of wide and narrow peaks can be balanced, leading to better estimation results. This filter can help to sharpen the wide correct peaks closer to ±90°, and flatten the narrow and sharp peaks around 0°.

In a further implementation form of the first aspect, each microphone unit includes an array of one or more microphones, and the one or more measured phase difference values of the phase difference matrix have been obtained from measured phase differences between the one or more microphones of one of the microphone units and the one or more microphones of the other one of the microphone units.

A second aspect of the invention provides an apparatus for determining DOA of sound from Q > \ sound sources, the apparatus comprising a device according the first aspect as such or any of its implementation forms, and a sound receiver including the two microphone units, which is configured to receive the sound, generate the phase difference matrix, and provide the phase difference matrix to the device.

The apparatus of the second aspect achieves all the advantages and effects of the device of the first aspect and its implementation forms, respectively.

A third aspect of the invention provides a method of estimating DOA of sound from Q > 1 sound sources, the method comprising obtaining a phase difference matrix, which includes measured phase difference values, each of the measured phase difference values being a measured value of a phase difference between two microphone units for a frequency bin in a range of frequencies of the sound, generating a replicated phase difference matrix by replicating the measured phase difference values to other potential sinusoidal periods, calculating (a DOA value for each phase difference value in the replicated phase difference matrix, and determining, as Q DOA results, the Q most prominent peak values in a histogram generated based on the calculated DOA values.

The method of the third aspect can be provided with implementation forms adding further method steps, which correspond to the actions taken by the device according to the implementation forms of the first aspect.

Accordingly, the method of the third aspect achieves all advantages and effects of the device of the first aspect and its implementation forms, respectively. It has to be noted that all devices, elements, units and means described in the present application could be implemented in the software or hardware elements or any kind of combination thereof. All steps which are performed by the various entities described in the present application as well as the functionalities described to be performed by the various entities are intended to mean that the respective entity is adapted to or configured to perform the respective steps and functionalities.

Even if, in the following description of specific embodiments, a specific functionality or step to be performed by external entities is not reflected in the description of a specific detailed element of that entity which performs that specific step or functionality, it should be clear for a skilled person that these methods and functionalities can be implemented in respective software or hardware elements, or any kind of combination thereof.

BRIEF DESCRIPTION OF THE DRAWINGS The above described aspects and implementation forms of the present invention will be explained in the following description of specific embodiments in relation to the enclosed drawings, in which

Fig. 1 shows a device and a method according to embodiments of the invention. Fig. 2 shows a device and an apparatus according to embodiments of the invention.

Fig. 3 shows a device according to an embodiment of the invention.

Fig. 4 shows technical details of a device according to the invention.

Fig. 5 shows technical details of a device according to the invention.

Fig. 6 shows a comparison between a histogram produced by a device according to the invention and a conventional histogram.

Fig. 7 shows technical details of a device according to the invention.

Fig. 8 shows technical details of a device according to the invention.

Fig. 9 shows technical details of a device according to the invention.

Fig. 10 shows technical details of a device according to the invention.

Fig. 11 shows a comparison between a DOA histogram produced by a device according to the invention and a conventional device.

Fig. 12 shows a comparison between a DOA histogram produced by a device according to the invention and a conventional device.

Fig. 13 illustrates a spatial aliasing problem.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Fig. 1 shows a device 100 according to an embodiment of the invention, which is configured for estimating DOA of sound from Q > \ sound sources 202. Fig. 2 shows a specific scenario, in which the device 100 may be used. Namely, the device 100 may be part of an apparatus 200 according to another embodiment of the invention for determining the DOA. As shown, this apparatus 200 may also include a sound receiver 201 for receiving the sound from the sound sources 202 (here one sound source 202 is shown, i.e. Q = 1). Notably, the device 100 may also be separate from, and for example connected to, such a sound receiver 201. The sound receiver 201 may include microphones or microphone arrays 203 and may include a pre-processing unit 204.

The device 100 of Fig. 1 is configured to obtain a phase difference matrix μ 0 , which includes measured phase difference values. Each of the measured phase difference values is a measured value of a phase difference between the two microphone units 203 for a frequency bin in a range of frequencies of the sound. The device 100 may for instance obtain the phase difference matrix from the sound receiver 201, particularly the preprocessing unit 204, which transforms the sound recorded by the microphones 203 into the phase difference matrix μ 0 . The device 100 is further configured to generate a replicated phase difference matrix μ by replicating the measured phase difference values in the obtained phase difference matrix μ 0 to other potential sinusoidal periods.

Then, the device 100 is configured to calculate a DOA value for each phase difference value in the replicated phase difference matrix μ, i.e. it calculate a DOA matrix Θ . Finally, the device 100 is configured to determine, as Q DOA results, the Q most prominent peak values in a histogram generated based on the calculated DOA values Θ.

The device 100 is thereby configured to carry out a method according to an embodiment of the invention. As shown in Fig. 1, this method includes a step of obtaining 111 the phase difference matrix μ 0 , which includes measured phase difference values, each of the measured phase difference values being a measured value of a phase difference between two microphone units 203 for a frequency bin in a range of frequencies of the sound. It then includes a step of generating 112 a replicated phase difference matrix μ by replicating the measured phase difference values to other potential sinusoidal periods, a step of calculating 113 a DOA value for each phase difference value in the replicated phase difference matrix μ, and finally a step of determining 114, as Q DOA results, the Q most prominent peak values in a histogram generated based on the calculated DOA values Θ . The position of the device 100 in the sound source localization is shown in Fig 2. The device 100 takes μ 0 as an input, and outputs the at least one estimated DO A Θ . In Fig. 2, the device 100 is part of the apparatus 200, in which the sound receiver 201 includes the two microphone units 203 and is configured to receive the sound, generate the phase difference matrix μ 0 , and provide the phase difference matrix μ 0 ίο the device 100.

A more detailed overview of a device 100 according to an embodiment of the invention, which builds on the embodiment of the device 100 in Fig. 1 , is shown in Fig 3. Different functions of the device 100 are shown with respect to boxes 301 to 309, and can generally be categorized as a post-processing for phase difference matrix replication and refining.

In box 301 , the phase difference matrix μ 0 is obtained, and the replicated phase difference matrix μ is generated by replicating the measured phase difference values to other potential sinusoidal periods. In box 302, DOA values Θ are calculated from the replicated phase difference matrix μ. That is, a DOA value Θ is calculated for each phase difference value in the replicated phase difference matrix μ.

In box 303, a DOA histogram h (denoted as first histogram) is generated from the calculated DOA values Θ. In a simple implementation form of the device 100, the Q most prominent peak values in the first histogram h may be selected already at this point as Q DOA results. In an implementation form of the device 100, for improved robustness, more peaks in the histogram h are detected at box 304. In particular, here the Q + q most prominent peak values in the first histogram h may be detected as DOA candidates, q is preferably 2.

In box 305, a binary masking may be applied, wherein the binary masking takes as input the Q + q peaks detected at box 304 and the DOA values Θ calculated at box 302. Thus, in box 305 particularly related DOA values θι, 0 2 . ..0i are determined and output. At box 306, further histograms (denoted as third histograms) are produced from each selected DOA candidate and its related DOA values, and are output as hi, h 2 . ..hi. At box 307, soft masking is applied to these histograms to output soft-masked histograms Hi, H 2 ...Hi. That is, a soft mask to the peak values is applied in each of the third histograms. At box 308, these histograms Hi, H 2 . ..Hi are then merged into one histogram H (denoted as second histogram) at box 308. The third histograms are particularly merged to generate the second histogram by, for each histogram index, using the maximum value from all the third histograms as the value of the second histogram for that histogram index (denoted by "maximum"). At box 309, an optional low-pass filtering is applied to the histogram H. Specifically, a Gaussian filter may be applied. Then, at box 309, the Q most prominent peak values in the second histogram are determined as the Q estimated DO A results Θ, and are output.

Fig. 4 shows in more detail the generation of the replicated phase difference matrix from the phase difference matrix μ 0 , as shown in box 301 of the device 100 of Fig. 3.

The purpose of this step is to obtain a (replicated) phase difference matrix μ in all of the potential sinusoidal periods. Frequency bands below f aQ should be in the correct sinusoidal period, so that μ 0 is not replicated to other sinusoidal periods for such frequencies. Frequency bands in [f a , 3f aQ ] can maximally have 1 sinusoidal period out of the interval [—π, π] . Applying this rule to the higher frequency bands can be described as

C s = (-C -C + 1, ... ,0, ... , C)

i = 1, ... N; j = 1, ... (2C + 1); where L*J denotes floor process, and μ is the replicated matrix, μ now contains μ 0 in the correct sinusoidal period and contains some errors introduced from this step.

Fig. 4 shows specifically on the left-hand side the phase difference values in the replicated phase difference matrix μ in their dependence on the frequency. The bold lines in the graph denote the phase difference values, which are already contained in the phase difference matrix μ 0 . All other values in the graph are values replicated to other sinusoidal periods.

Fig. 5 shows in more detail the calculation of the matrix of DOA values Θ from the replicated phase difference matrix μ at box 302. Each phase difference value in the replicated phase difference matrix μ has a single corresponding DOA θ. μ is transformed to DOA Θ including these Θ as

= arcsin

2π ίΔά (5)

6>(i,y) denotes the DOA value for frequency bin index i and replication index j, and Ad denotes the distance between the two microphone units 203.

Fig. 5 shows specifically on the left-hand side the DOA values in their dependence on frequency. The DOA values along the bold lines correspond to the phase difference values in the phase difference matrix μ 0 , while the other values result from the replication step.

Now, μ may define the phase differences in the correct sinusoidal periods, and the transformed corresponding value of DO As may be defined as Θ. It is known that Θ is theoretically constant in clean (low noise) scenarios. This property can be expressed as θ(ρ) — e(qf) = arcsin = 0 (6)

By simplifying the above equation (6), the relationship of μ between different frequencies can be determined as μ(ρ) _ μθϊ) ^

fi fi When the phase difference is in the wrong sinusoidal periods, μ(ί) = μ(ί) + 2ηπ, (n≠ Ο, η Ε Ζ) . The wrong estimated DOA is defined as θ(ί). θ(ί) is a complex number when the condition is met. For this reason, all of the complex values are preferably removed from Θ. Fig. 6 shows in more detail, how then the remaining values are collected and transformed, at box 303, into the histogram h in [-90, 90] degree, wherein the length of h is denoted a N h . By taking the above equation (6) and the mentioned simplifications, the Θ differences relationship between different frequencies is obtained as

0 < arcsin

V≠ q (9)

This proves that Θ is a monotonic variant along the frequency axis. Together with the constancy of Θ, when Θ is transformed into the histogram h, the amplitudes of the correct peaks are higher than the peaks from Θ.

Fig. 6 specifically compares a histogram of DOA values derived from the "raw" phase difference matrix μ 0 (left-hand side) with the histogram h (here for Q = 1) obtained from μ. The advantageous effect of the invention is clearly observable, namely that the prominence of the correct peak (here at a DOA of -54.9°) is significantly pronounced.

If sound sources 202 are broadband signals, and the scenario is clean, the DOA results can be estimated by the positions of the peaks with the highest Q prominence. If the scenario is noisy, and/or some of the sound sources 202 are weak, the corresponding peaks may have less prominence than the peaks from Θ.

To make the estimation carried out by the device 100 even more robust, in such a case, Q' = Q + q peaks may be taken from the histogram h as DOA candidates (practically, q is taken as 2, but it may also be another integer value, like 3 or higher).

This is shown in Fig. 7, which illustrates in more detail the detecting of peaks in the histogram h at box 304. Fig. 7 shows specifically on the left-hand side, that in this case the (correct) peak at -54.9°, and two further peaks at -36.4° and -21.9°, respectively, are detected (wherein Q = 1, and q = 2). Then, further post-processing (specifically one or more masking steps) may be applied to preserve the correct peaks and to attenuate the peaks resulting from Θ.

Fig. 8 shows particularly in more detail the binary masking carried out at box 305. Fig. 9 shows in more detail the soft masking carried out at box 307.

To evaluate, whether the chosen peaks (DOA candidates) correspond to actual sound sources 202, and not aliasing peaks, each of the peaks is processed individually. The position of a k* peak is denoted as p k , and from equation (3), the corresponding aliasing frequency can be determined as f a .

With these frequency indexes, binary masks can be applied to select the DOA values of the phases in supposed correct sinusoidal periods for the corresponding peaks from Θ. The process of selecting the related DOA values for a peak value may be described as

1. .... N (10)

where Q k includes the k peak and its related DOA values.

Fig. 8 shows the results of such binary masking. In particular, Fig. 8 shows (on the topside) frequency dependent DOA values in a graph for each of the selected peaks (here the three peaks at -54.9°, -36.4° and -21.9° were selected, see Fig. 7). The DOA values along the bold values are the related DOA values of the respective peak (DOA candidate).

Q k of each peak is then transformed into a histogram h fc . That is a histogram h fc is generated for the k* selected DOA candidate and its related DOA values, as is shown in Fig. 9 (on its top-side). In particular, Fig. 9 shows the three histograms for each of the selected DOA candidates, i.e. histograms corresponding to the respectively selected peaks and their corresponding DOA values. As shown in Fig. 8, for the first peak at -54.9° only DOA values on a horizontal line were related. Thus, there is only one sharp histogram peak. A soft mask M fc may now be applied to the histogram h fc related to the k peak, in order to highlight the correct peaks. The mask may be the same or different for each peak. Fig. 9 shows in this respect (on its bottom-side) more details of the soft masking applied at box 307. The soft masking may be optionally combined with a low pass filtering. The histograms Hi, H 2 ...Hi shown on the bottom-side of Fig. 9 are after applying the soft mask to the respective histograms hi, h 2 ...hi on the top-side. It can be seen that the peaks corresponding to the selected DOA candidates are enhanced in the soft-masked histograms. Theoretically, the width of an aliasing peak is large. In contrast, the width of a correct peak p k is narrow at 0°, and increases when the peak is getting closer to ±90°. With this property, the soft mask may be designed as a peak filter with small width at 0° and large width at ±90°. A practical soft mask with respect to the k* selected DOA candidate can preferably be designed like

\2i - N h - 2 Pk \arcsin^ - j^ -i- i = l, ... , N h (11) where f nh denotes the considered highest frequency.

The soft masking is preferably applied by Schur product(°) according to

H fc = h fc ° M fc (12)

Figs. 10 and 11 show in more detail the merging of the third histograms Hi, H 2 ...Hi into the second histogram H at box 308, and also the final low-pass filtering applied to the histogram H and the estimation of DOA results at box 309. The masked histograms from the peak candidates are merged to H by "maximum" according to H(i) = max (H 1 (0, ... , H fc (i), ... H <? (0) (13)

Fig. 10 shows the merged DO A histogram H. A low-pass filter is preferably further applied to this histogram H, more preferably Gaussian filter. Even more preferably, a Gaussian filter is suggested to be applied with a standard deviation σ equal to the lowest localization resolution of the microphone setup. The reason to set this deviation is to balance the height of the peaks closer to 0° and 90°. Theoretically, the widths of the aliasing peaks are large while the widths of the correct peaks are narrow at 0°, and the widths of the correct peaks increase when the peaks are getting closer to ±90°. Therefore using the soft-mask in this way can help to detect the correct peaks more reliably. A simplified equation to obtain the lowest resolution is given as c

σ = arccosfl— -— -)

f s Ad J where f s denotes the sampling rate.

Finally, Q peaks are selected by their peak prominence from the (optionally low-pass filtered) histogram H. The positions of the peaks are the DOA result output by the device 100.

Figs. 11 and 12 compare in this respect the histogram H of the device 100 with a histogram generated by a conventional device. Fig. 11 shows in particular the histogram of the conventional device for a sound source DOA of about -55° (Q = 1) on the left-hand side, and the corresponding histogram H generated by the device 100 on the right-hand side. Fig. 12 shows further a histogram of a conventional device for multiple sound source DOAs of about -55°, -15° and 30° (Q = 3) on the left-hand side, and the corresponding histogram H of the device 100 on the right-hand side. It can be seen that the peak at the correct DOA is much cleaner and much more pronounced in the histogram H produced by the device 100. Accordingly, the estimation of Θ will be more accurate and robust, especially in noisy environments. As a consequence, the device 100 of the invention enhances the robustness and accuracy of sound source localization that uses microphones or microphone arrays, especially when the distance between the microphones is large. A potential application for such a device 100 or for the apparatus 200 is, for example, in a distance speech pick up device, in a tablet, in a mobile phone, or in a teleconference device. In each application, the invention specifically reduces or eliminates the negative spatial aliasing effects.

The invention has been described in conjunction with various embodiments as examples as well as implementations. However, other variations can be understood and effected by those persons skilled in the art and practicing the claimed invention, from the studies of the drawings, this disclosure and the independent claims. In the claims as well as in the description the word "comprising" does not exclude other elements or steps and the indefinite article "a" or "an" does not exclude a plurality. A single element or other unit may fulfill the functions of several entities or items recited in the claims. The mere fact that certain measures are recited in the mutual different dependent claims does not indicate that a combination of these measures cannot be used in an advantageous implementation.