Abstract
Introduction: Direction of arrival (DOA) estimation of sound sources is an essential task of sound field analysis which typically requires two or more microphones. In this study, we present an algorithm that allows for DOA estimation using the previously designed Rotating Equatorial Microphone prototype, which is a single microphone that moves rapidly along a circular trajectory, introducing DOA-dependent periodic distortions in the captured signal.
Methods: Our algorithm compensates for the induced spectral distortions caused by the REMās circular motion for multiple DOA candidates. Subsequently, the best DOA candidate is identified using two distortion metrics. We verify our approach through numerical simulations and practical experiments conducted in a low-reverberant environment.
Results: The proposed approach localizes unknown single-frequency sources with a mean absolute error of 23 degrees and unknown wideband sources with a mean absolute error of 5.4 degrees in practice. Two sources are also localizable provided they are sufficiently separated in space.
Conclusion: Whilst previous work only allowed for DOA estimation of a single monochromatic sound source with a known frequency, our DOA estimation algorithm enables localization of unknown and arbitrary sources with a single moving microphone.
1 Introduction
Estimating the direction of arrival (DOA) of acoustic sources conventionally requires a microphone array consisting of at least two microphones. This poses a problem in situations where space is limited and cost must be minimized. Over the years several approaches have been proposed for DOA estimation using only a single microphone, many of which are inspired from theories of human monaural sound localization. These approaches typically place a synthetic pinna or an arbitrarily shaped scattering body with known DOA-dependent scattering characteristics close to a stationary microphone to induce spatial localization cues. Additionally, knowledge of the spectral characteristics of the sound sources to be localized is required, as it is otherwise impossible to differentiate the localization cues from the sound source.
The first implementation of single microphone localization was performed in , where the DOA of an acoustic pulse was determined using a reflector that was designed to produce two echoes, which arrive at the microphone at different DOA-dependent times. This time difference of arrival is subsequently determined using cross-correlation, from which the DOA is inferred. A more elaborate approach was employed in Takiguchi et al. (2009), where a Gaussian mixture model (GMM) was trained on speech to subsequently estimate the acoustic transfer functions between the microphone and a speech source placed at various locations. As the characteristics of the room are used to induce localization cues, this method requires retraining for each room and microphone placement. This was circumvented in , where the head-related transfer function (HRTF) of a dummy head was measured and a speech model was trained using a GMM. Using the HRTF data, the GMMs for speech arriving at various DOAs were computed and subsequently used to estimate the DOA of a speech source. A more sophisticated approach was implemented in and their following work , where the directional-dependent scattering of arbitrary LEGOĀ® constructions was measured and localization of white noise was performed using non-negative matrix factorization. This approach also allowed for the localization of up to two speech sources utilizing non-negative dictionaries trained on speech.
A more general source localization approach was implemented in Saxena and Ng (2009), where a hidden Markov model was trained on common real-world sounds (i.e., human speech, animal noises and nature sounds) and the DOA-dependent transfer functions of multiple scattering bodies were measured. The DOA of various sounds was subsequently estimated by finding the azimuth angle most likely to produce the observed signal.
A different approach was employed in Kim and Kim (2015), where multiple, differently sized pyramidal horns were placed around a microphone, inducing DOA-dependent acoustic resonance. As this resonance introduces a characteristic fingerprint in the spectrum of recorded wideband sound sources, localization is feasible without knowledge of the spectral characteristics of the sources. The downside to this approach is the large required size and low localization resolution due to the dimensions of the pyramidal horns.
Some approaches require a certain movement of either the microphone or a reflecting element. In Takashima et al. (2010) a parabolic reflection board was attached to a microphone and manually rotated to estimate the acoustic transfer function between the microphone and a speech source for different board orientations. Given a GMM speech model, a characteristic difference could be observed in the acoustic transfer function as the reflection board was directed at a speech source. A more sophisticated approach was implemented in Tengan et al. (2021) and Tengan et al. (2023), where a directional microphone was sequentially oriented in multiple directions and DOA estimation was performed by locating the maxima in an estimated power spectral density (PSD) vector. This vector was obtained by solving a group-sparsity constrained optimization problem using a dictionary composed of the known DOA-dependent microphone responses. A very different approach was employed in and their following work Wang et al. (2023) where localization of amplitude-modulated noise and speech was performed with a dummy head using a regression model trained on features of these signals in the so-called monaural modulation spectrum, as well as features in the head-related modulation transfer function. Head movement was additionally employed to eliminate incorrect DOA estimates. Unlike the previously described approaches, which only estimate the two-dimensional DOA, this method also provides elevation information.
Finally, some approaches utilize continuous microphone movement. In Schasse and Martin (2010) and Schasse et al. (2012) a single signal is constructed from a circular microphone array by circular sampling, i.e., taking the first sample from the first microphone, the second sample from the neighboring microphone and so on in a circular fashion. The resulting signal can be viewed as having been captured by a rapidly rotating microphone, the movement of which introduces DOA-dependent periodic Doppler shifts into captured sound sources. In Schasse et al. (2012) the captured signal is decomposed into multiple subbands and the instantaneous frequency of each subband is estimated for each spectrogram frame. As these frequencies shift in a periodic and DOA-dependent manner, the phases of these shifts are computed for each subband to yield the DOA estimates. This method allowed for two-dimensional DOA estimation of up to 5 simultaneous speech sources. In this approach was implemented in practice using a single rotating microphone as opposed to a circular microphone array, albeit only single monochromatic sound sources with a known frequency were used as test signals. The microphone rotated at a maximum speed of approximately 17 rotations per second and DOA estimation was shown to be accurate only for frequencies above 500Ā Hz.
As it can be observed, DOA estimation using a single continuously moving microphone has not been comprehensively studied, despite the promising results from Schasse et al. (2012) showing that it potentially enables single microphone localization without requiring a scattering body or prior knowledge of the source signalsā spectral characteristics. In fact, only limited research has been conducted on moving microphones as a whole. The few instances of study on moving microphones almost exclusively cover the measurement of room impulse responses either along the microphone trajectory, e.g., , and , or in a given volume of interest using rapid microphone movement, e.g., Katzberg et al. (2017) and Katzberg et al. (2021). Since these approaches rely on known excitation signals for room impulse response measurement, they cannot be modified to allow for DOA estimation of unknown signals.
To investigate DOA estimation and other sound field analysis applications using a single moving microphone, we developed the Rotating Equatorial Microphone (REM) prototype described in Lawrence et al. (2022), which achieves rotational speeds between 24 and 42 rotations per second. The lower limit is constrained by hardware limitations and the upper limit is set to ensure that distortions due to wind and motor noise are not too large. The validation of the proposed algorithm will be conducted using the REM.
The primary concept of our proposed DOA estimation algorithm is to compensate for the DOA-dependent distortions introduced by the microphone rotation for multiple candidate DOAs. We subsequently find the candidates that contain the least distortion according to two metrics which will be introduced in Section 2. As we will show in simulations and practical experiments, this method allows for the estimation of the azimuth of multiple simultaneous sound sources without prior knowledge of the spectral characteristics of the sources. We will also illustrate how the algorithm can be extended to estimate the colatitude of sound sources. However, verification of colatitude estimation is left for future work.
This article is structured as follows: In Section 2, we will elaborate on the distortions that arise when a circularly rotating microphone is placed in a sound field, as well as the assumptions and simplifications that we employ. Subsequently, in Section 3, we will present two algorithms that compensate for two of the distortions described in Section 2 and use them to formulate a DOA estimation algorithm. In Section 4, we will conduct numerical simulations and practical experiments to verify and evaluate the presented algorithm. Finally, in Section 5, we will draw our conclusions and discuss future work.
2 Theoretical foundations
Multiple DOA-dependent spectral distortions are introduced as the microphone rotates in a circular manner. These will be discussed in this section to enable their compensation in Section 3.
2.1 Problem formulation
The high rotational speed employed by the REM induces significant frequency shifts in recorded audio signals due to the Doppler effect. To find a mathematical expression for this phenomenon, consider the following setup: A circularly moving omnidirectional microphone is placed in a free field with a sound source situated at azimuth Ļ ā [0, 2Ļ) relative to the initial microphone position. The circular motion is situated in the x-y plane and characterized by a rotational radius r and angular velocity Ļrot = 2Ļfrot. Moreover, the sound source emits a single frequency fsrc and is placed sufficiently far away from the microphone such that the incoming sound waves can be approximated by plane waves with a constant amplitude. This setup is depicted in Figure 1A. If we decompose the circular movement into two components, one parallel and one perpendicular to the incoming sound waves, we find that only the perpendicular component introduces Doppler shifts. Therefore, we discard the parallel component and simplify the circular movement to a non-uniform linear movement along the red line in Figure 1B. The instantaneous velocity v (t, Ļ) along this red line is obtained by projecting the circular movement onto the red line, resulting inwhere and positive velocity is defined as moving towards and negative velocity as moving away from the plane waves. The reasons we choose the cosine and rotational frequency frot as opposed to the sine and angular velocity will become evident in Section 2.2.
FIGURE 1
We now extend our considerations to three dimensions, i.e., the plane waves arrive at azimuth Ļ ā [0, 2Ļ) relative to the initial microphone position within the rotational plane and at colatitude Īø ā [0, Ļ] relative to the rotational plane. The circular motion exhibits the same characteristics as before, as depicted in Figure 2. Once again, we can discard the microphone movement parallel to the incoming sound waves and simplify the microphone movement to an equivalent non-uniform linear movement, which is indicated by the red line. By inserting the purple elements, we can apply basic trigonometry to compute the maximum displacement along the red line relative to the origin as r ā sin(Īø). Analogously to Eq. 1, we obtain the instantaneous velocity v (t, Ļ, Īø) of the microphone along the red line by projecting the circular movement onto the red line. This results in
FIGURE 2
Following the well-known definition of the Doppler effect, we can use the previously computed instantaneous velocity to compute the instantaneous frequency observed by the microphone fobs (t, Ļ, Īø) aswhere c is the speed of sound. The instantaneous phase Ļobs (t, Ļ, Īø) is subsequently obtained by integration:where is an initial phase offset. We can now express the recorded microphone signal x (t, Ļ, Īø) aswhere A0 is the signal amplitude, which we assume to be unity.
An example spectrogram of for fsrc = 8Ā kHz, r = 0.045Ā m, , frot = 42Ā Hz, A0 = 1 and Ļ0 = 0 is shown in Figure 3A. The spectrogram was computed using a Blackman window, a frame length of L = 512 which has been zero-padded to 8,192, a frame overlap of 97.5% and a sampling rate of fs = 48Ā kHz. As it can be observed, the instantaneous frequency fluctuates around the source frequency in a sinusoidal manner. The computation of the phase of this sinusoid allows for the estimation of Ļ, which is the DOA estimation approach used in Schasse and Martin (2010), Schasse et al. (2012) and . Moreover, the amplitude of this sinusoid is dependent on Īø. Unfortunately, accurate derivation of Ļ and Īø by observing this sinusoid is challenging in practice for wideband and low-frequency signals. This is due to the short required frame length, especially at higher rotational speeds, which results in a low-frequency resolution. Lower rotational speeds are therefore preferred, however, the source signal must also remain sufficiently constant during one rotation to enable accurate amplitude and phase estimation of the sinusoid. Furthermore, lower rotational speeds result in smaller Doppler shifts, further reducing the estimation accuracy. For these reasons, we choose a different approach, which exploits a phenomenon that occurs as we increase the frame length.
FIGURE 3
2.2 Frequency modulation
Figure 3B shows a spectrogram of with the same parameters as before, except for the frame length which is now set to L = 8,192. Multiple frequencies can be observed, which are all separated by exactly 42Ā Hz = frot. To explain this phenomenon, note that Eq. 3 resembles a sinusoidal frequency modulated signal xFM(t), which is commonly used in the field of telecommunications:where fc is the carrier frequency with amplitude Ac, fm is the frequency of the modulating wave and β is the so-called modulation index, which quantifies by how much the carrier frequency is modulated. Setting aside phase offsets Ļā² and Ļ0, we can observe that values A0, fsrc and frot from Eq. 3 correspond to Ac, fc and fm from Eq. 4, respectively. Furthermore, the modulation index shows Īø-dependence and corresponds to . Note that β(Īø) is symmetric around , indicating that plane waves arriving at for are modulated to the same extent and are therefore not distinguishable from each other. Furthermore, note that the modulation index is independent of the rotational frequency and dependent on the source frequency, i.e., higher frequencies are modulated to a larger extent.
The observation from Figure 3B can now be explained as an alternative representation of sinusoidal frequency-modulated signals, which for Eq. 3 is given bywhere Jn (ā ) denotes the Bessel function of the first kind for integer order n. This equation is obtained by following the derivation from Van Der Pol (1930) with the inclusion of initial phase offsets. As it can be observed, a frequency-modulated signal contains infinitely many sidebands spaced at integer multiples of the rotational frequency around the source frequency. Moreover, the modulation index influences the weighting of these sidebands. This is demonstrated in Figure 4A, where the PSDs of frequency modulated 8Ā kHz sine waves are plotted for an increasing modulation index at frame length L = 8,192.
FIGURE 4
Another noteworthy observation can be made if we estimate the energy of each PSD Sxx(β) from Figure 4A as , where Sxx(β)k represents the kth discrete frequency bin of Sxx(β). As Figure 4B shows, the energy stays constant regardless of the modulation index. This is explained by the following property of Bessel functions of the first order:as provided by Olver et al., (2023). Sinusoidal frequency modulation can therefore be interpreted as an energy-conserving redistribution of the input energy onto the sidebands. To quantify the degree to which the energy is distributed onto the sidebands, we introduce the following metric:We will refer to this metric as focusedness since it becomes larger as the energy is more focused on the source frequency. An example plot of the focusedness is contained in Figure 4B. This metric will be of importance in Section 3.4, where we will compensate for the frequency modulation for multiple candidate DOAs. The frequency modulation present in the resulting compensated signals decreases as the candidate DOAs approach the correct DOA. In other words, the compensated signal associated with the best DOA candidate will feature the highest focusedness.
2.3 Amplitude modulation
Previously, we assumed the microphone to be perfectly omnidirectional. This assumption does not hold in practice, since all microphones feature a direction-dependent non-flat frequency response. Additionally, the apparatus that enables the microphone rotation introduces acoustic scattering, further impacting the effective direction-dependent frequency response of the microphone. These phenomena affect both the amplitude and phase of the captured signal from Eq. 3. In this article, we neglect the influence of the frequency response on the phase and only consider the direction-dependent magnitude response of the microphone.
We will express the direction-dependent magnitude response of the microphone as |H (fm, Ļm, Īøm)|, where fm represents the frequency of interest arriving at DOA (Ļm, Īøm) relative to the front of the microphone. The DOA at the front of the microphone is defined as (0, ). The on-axis magnitude response is therefore given by . Given knowledge of the direction-dependent magnitude response of the microphone, the DOA-dependent observed amplitude of a sinusoid with frequency fm and amplitude A0 can be expressed as A (fm, Ļm, Īøm) = A0 ā |H (fm, Ļm, Īøm)|. Considering the setup from Figure 2, we further find that Ļm and Īøm correspond to (Ļ ā 2Ļfrott) mod 2Ļ and Īø, respectively. Moreover, fm corresponds to fobs (t, Ļ, Īø) from Eq. 2, given by .
We can now more accurately represent the amplitude A0 from Eq. 3 asIt can be observed that the amplitude of the signal captured by the microphone is modulated periodically. The period of the modulating wave corresponds to 1/frot and its shape is dependent on the microphoneās direction-dependent magnitude response. This periodicity will be exploited in Section 3.4 as follows: Given the direction-dependent magnitude response of our REM prototype, we derive an algorithm that can compensate for the amplitude modulation that is introduced by the microphone rotation for multiple DOA candidates. The compensated signal associated with the best DOA candidate will feature the least amplitude modulation. This signal can be identified by computing the PSD of all compensated signals in a frame-wise manner using a short frame length and shift and finding the signal with the lowest average PSD variance over each rotation period.
2.4 Near field effects, self-induced noise and reverberation
Up until this point we have assumed that the sound field consists of plane waves. In reality, however, sound sources can only be approximated by plane waves in the far field, whereas in the near field the wavefronts will exhibit a non-negligible curvature depending on the geometry of the sound source. This means that in the near field not only the perpendicular but also the parallel component of the microphone movement to the sound waves will introduce Doppler shifts. Additionally, the amplitude A0 from Eq. 6 will change based on the instantaneous microphone-source distance. It was demonstrated in that the acoustic response of a rigid sphere hardly exhibits any distance dependency apart from a scaling of the amplitude if the distance to the sound source is farther than 5 times the sphere radius. In our setup, this factor between source distance and sphere radius is approximately 29. Therefore, we neglect near field effects in this article.
Another significant distortion introduced by the microphone rotation is self-induced noise, also known as ego-noise, due to the mechanical movement of the microphone. The self-induced noise is composed of two primary components: The first component is caused by vibrations due to subtle imbalances of both the motor and the microphone housing. This noise has a harmonic structure with fundamental frequency frot. The second component is wind noise, which is caused by the rapid speed of the microphone. Although the friction between the microphone housing and the surrounding air results in airflow around the microphone, causing complex interactions between the airflow and incoming sound waves, we choose to neglect these effects and consider both the wind noise and vibration noise to be independent of recorded source signals. To reduce the self-induced noise we employ spectral subtraction in Section 4 using an estimate of the average noise spectrum directly before each recorded sample. It is worth noting that multiple, more elaborate approaches have been proposed to estimate and reduce self-induced noise, such as those presented in Ince et al. (2011) and Schmidt and Kellermann (2019). For the sake of simplicity, however, we perform noise reduction using spectral subtraction, since noise reduction is not the focus of this article.
The last noteworthy distortion introduced into the recorded signal is caused by acoustic reverberation both within the microphone housing and the room in which the microphone is placed. Although this effect is not specifically caused by the microphone rotation, the reverberation uniquely affects the moving microphone, since the reflected sound waves meet the microphone at different positions in space. Compensating for this phenomenon is a complex problem in itself, which is why we choose to perform our practical experiments in close to anechoic conditions such that the impacts of acoustic reverberation are negligible. Furthermore, we disregard the influence of internal reflections within the microphone housing. DOA estimation using a single moving microphone in reverberant environments will be set aside for future research.
3 Localization algorithm
In this section, two algorithms that compensate for the frequency modulation and amplitude modulation introduced by the microphone rotation will be derived. Subsequently, we show how these algorithms are used to perform DOA estimation.
3.1 Frequency modulation compensation
To compensate for the frequency modulation induced into a source signal for a particular DOA we employ accurate time shifting of the individual microphone samples. We will denote this DOA-dependent frequency modulation compensation as frequency unmodulating the signal for a given DOA, which in this section we further shorten to unmodulating the signal. To derive the unmodulation algorithm, we place a virtual stationary microphone MS at the center of the rotation of the moving microphone MM, i.e., at the origin of the coordinate system. MS captures the unmodulated signal we wish to compute. As an example, consider Figure 5 in which the blue and orange graphs represent a sinusoid and a frequency modulated sinusoid, respectively. These graphs can be interpreted as the signals arriving at MS and MM, respectively. The vertical gray lines represent the sampling grid and therefore the blue and orange points correspond to the individual samples captured by both microphones. As illustrated in Figure 5, there are two methods of obtaining the blue points from the orange points. One of these methods requires uniform interpolation, while the other requires non-uniform interpolation. For the sake of accuracy, we choose sinc interpolation, given bywhere T corresponds to the sampling period. Since sinc interpolation requires the input data to be uniformly spaced, we choose to obtain the blue points from the orange points as follows: The red points, whose timestamps correspond to the equivalent positions of the blue points on the orange graph, are interpolated from the orange points and subsequently uniformly spaced to obtain the blue points.
FIGURE 5
To obtain the timestamps of the red points, we must compute the time of arrival of wavefronts sampled by MS at MM. As before, we simplify the microphone movement to a non-uniform linear movement by projecting it onto the red line from Figure 2. We now define this red line as an axis with its origin at the origin of the coordinate system and its positive direction pointing away from the source of the plane waves. Let us further assume that a given wavefront arrives at MS at time t0 and reaches MM after an additional t0-and DOA-dependent time ĪtSM(t0, Ļ, Īø) (which may also be negative). The location of MM on the red axis can now be expressed as ār ā sin(Īø) ā cos (2Ļfrot (t0 + ĪtSM(t0, Ļ, Īø)) ā Ļ). Additionally, the ĪtSM(t0, Ļ, Īø)-dependent position of the wavefront on the red axis is given by c ā ĪtSM(t0, Ļ, Īø), since it reaches the origin at time t0. We can now obtain ĪtSM(t0, Ļ, Īø) by equating the location of MM and the wavefront on the red axis as ār ā sin(Īø) ā cos (2Ļfrot (t0 + ĪtSM(t0, Ļ, Īø)) ā Ļ) = c ā ĪtSM(t0, Ļ, Īø). Unfortunately, ĪtSM(t0, Ļ, Īø) cannot be solved analytically, therefore we instead obtain this value by optimization:Note that it can be shown that the computation of ĪtSM(t0, Ļ, Īø) is unique as long as the microphone movement does not exceed the speed of sound.
Unmodulating an arbitrary signal x(t) for a given DOA (Ļ, Īø) can now be performed using the following algorithm:
Algorithm 1
Despite the ability of the above algorithm to accurately unmodulate a given signal, its direct implementation is slow due to the requirement of solving an optimization problem for each sample and the utilized interpolation method. To speed up the algorithm, we define a frequency unmodulation matrix ZFU(Ļ, Īø) which unmodulates a signal x = [x0x1 ⦠xLā1] of length L, where xi corresponds to the ith microphone sample, for a given DOA via vector-matrix multiplication. This operation can be performed both in the time domain and in the frequency domain. We perform this operation in the frequency domain aswhere yFU(Ļ, Īø) is the frequency unmodulated signal for the given DOA and RFFT{ā } represents the L-length real-valued Fast Fourier Transform, i.e., the input data is assumed to be real and due to symmetric properties of the complex spectrum only the first n = L/2 + 1 complex frequency bins are computed and returned as a row vector. It is now evident why we choose to perform unmodulation in the frequency domain, since the required dimensions of ZFU(Ļ, Īø) in the frequency domain are n Ć n as opposed to L Ć L in the time domain. This results in an approximately four-fold decrease in the number of computations required for the vector-matrix multiplication.
It is important to note that the usage of the Fast Fourier Transform algorithm requires the length of the input signal L to be a power of two. Furthermore, we assume that RFFT{ā } applies a scaling factor of 2/L and no scaling is applied by RFFTā1{ā }.
To obtain ZFU(Ļ, Īø) we define a function and subsequently construct a set of vectors as for k ā [0, 1, ⦠, n ā 1]. Each vector xk contains the first L samples of the center frequencies of the kth RFFT frequency bin (with amplitude Ak and phase offset Ļk) which have been sampled at sampling rate fs. When computing the magnitude spectra of xk as |RFFT{xk}| using a rectangular window, we obtain spectra which appear to have no spectral leakage, i.e., , where RFFT{ā }k denotes the kth element of the vector returned by RFFT, and for i ā [0, 1, ⦠, n ā 1]. Similarly, the phase spectra ā RFFT{xk} correspond to and are indeterminate at the remaining bins. Note that in reality the spectra do have spectral leakage, however, the nulls of the sidelobes fall exactly onto the frequency bins evaluated by RFFT{ā }. The previously mentioned properties do not hold for other window functions, since they produce a main lobe that spreads to the evaluated neighboring frequency bins. Therefore, we assume that RFFT{ā } and RFFTā1{ā } utilize a rectangular window function.
We now define another function and construct a set of vectors by sampling g (k, t) at times for i ā [0, 1, ⦠, L ā 1] and k ā [0, 1, ⦠, n ā 1]. The times are given by step (1) of the above algorithm and are computed for the given DOA (Ļ, Īø). The resulting vectors can be expressed asand represent the signals that are obtained when the unmodulation algorithm is applied to the center frequencies of each frequency bin with unit amplitude and no phase offset. An example plot of and |RFFT{x341}| for L = 8,192, A341 = 0.5, Ļ341 = 0 and frot = 42Ā Hz is depicted in Figure 6. Given that the magnitude spectrum of xk is concentrated onto the kth frequency bin and the magnitude spectrum of represents the unmodulated counterpart of the kth frequency bin with unit amplitude, we can unmodulate the magnitude spectrum of xk for the DOA (Ļ, Īø) by computing . Similarly, the phase spectrum of xk can be unmodulated by . Combining these properties allows for unmodulation of the spectrum of xk by computing , which is equivalent to scaling the spectrum of by the phasor .
FIGURE 6
These considerations can now be extended to more general source signals x. Since the spectrum of x is fully characterized by the amplitudes Ak and the phases Ļk of every RFFT bin, we can unmodulate each frequency bin individually using the corresponding spectra of . The unmodulated signal yFU(Ļ, Īø) can then be obtained by computing the sum of the unmodulated spectra of each frequency bin and subsequently applying RFFTā1 as:To represent this equation as the vector-matrix computation from Eq. 9 we can stack all to form the unmodulation matrix ZFU(Ļ, Īø) as
The computational cost of deriving the matrices grows quadratically with L. The same holds for the number of computations necessary to apply the unmodulation matrix to the source signal. Therefore, it is desirable to keep L as low as possible, which incentivizes the usage of frame-wise processing of the source signal. The length of each frame cannot be decreased indefinitely, since inaccuracies occur close to the boundaries of each unmodulated frame. For this reason, subsequent frames must overlap to a certain extent. Additionally, if the shift between the frames is not carefully chosen, the initial microphone position at each frame will differ, resulting in a change in DOA between the initial microphone position and the sound source. This would require the computation of a different modulation or unmodulation matrix for each frame. This is circumvented by using a frame shift of S = fs/frot samples. In case S is not an integer, the frame shift of each frame is chosen such that the start of the nth frame is at ān ā fs/frotā samples. To ensure a frame overlap of at least 25%, S < 0.75 ā L must hold. Therefore, we set L = 2k, where k represents the smallest integer for which S < 0.75 ā 2k holds. As an example, for fs = 48Ā kHz and frot = 42Ā Hz the frame shift is S ā 1,143 samples and therefore the minimum required frame length is L = 2048. Unmodulating a signal for a given DOA now only requires the computation of a matrix of size 1,025 Ć 1,025 which is subsequently used to process each frame. The resulting time domain frames are added together using equal power crossfades at the overlapping sections.
When comparing the performance of matrix-based unmodulation with Algorithm 1, we find that matrix-based unmodulation is significantly faster, especially as the length of the audio signal increases. For instance, our Python implementation of matrix-based unmodulation requires approximately 0.12Ā ās, 0.16Ā ās and 0.53Ā s to process 1Ā s, 10āĀ s and 100Ā s audio files at a rotational speed of frot = 42Ā Hz. This is in stark contrast with Algorithm 1, which requires around 8Ā ās, 80Ā ās and 800Ā s for the same audio files.
To unmodulate a signal for multiple colatitude angles requires the computation of an unmodulation matrix for each colatitude. Unmodulating for various azimuth angles, however, can be performed using only one unmodulation matrix computed at, for example, Ļ = 0. Unmodulation for other arbitrary azimuth angles Ļ can then be performed by omitting the first samples of the signal and subsequently using ZFU(0, Īø) to unmodulate each frame. Using these optimizations and assuming a perfectly constant rotational speed of frot = 42Ā Hz, our Python implementation is capable of unmodulating for 180 different azimuth angles in real-time.
3.2 Amplitude modulation compensation
To compensate for the amplitude modulation present in a signal for a given DOA we proceed in a similar manner to the matrix-based frequency unmodulation from the previous section. Given knowledge of the absolute value of the directivity D (fm, Ļm, Īøm) and the frequency response H (fm) we can generate a set of basis functions whose spectra represent the amplitude unmodulated counterparts of each frequency bin. We use the same function from the previous section and weight it by the reciprocal value of A0 (t, fsrc, Ļ, Īø) from Eq. 6. The respective scaling factors A0 are set to . We then construct a set of vectors by taking L samples of the weighted function at sampling rate fs for k ā [0, 1, ⦠, n ā 1]. The resulting set of vectors can be expressed aswhere . To form the amplitude unmodulation matrix we stack all in a similar manner to Eq. 10 to form the amplitude unmodulation matrix ZAU (Ļ, Īø). The amplitude unmodulated signal yAU (Ļ, Īø) for DOA (Ļ, Īø) can then be obtained by
We can now combine ZAU (Ļ, Īø) and ZFU(Ļ, Īø) into an unmodulation matrix ZU (Ļ, Īø), given bywhich enables simultaneous frequency and amplitude unmodulation. Note that frequency unmodulation is sensitive to amplitude variations due to the utilized interpolation. This is why ZAU (Ļ, Īø) is positioned to the left of ZFU(Ļ, Īø) in Eq. 11.
3.3 Modulation algorithm
An algorithm that modulates an arbitrary signal for a given DOA, i.e., the inverse of the unmodulation algorithm, is beneficial for simulation purposes. Let us revisit the moving microphone MM and the stationary microphone MS from Section 3.1. A signal can be frequency modulated for a given DOA by interpolating the green points in Figure 5 from the blue points and equally spacing the interpolated points to obtain the orange points. The timestamps of the green points are computed by calculating the time of arrival of wavefronts sampled by MM at MS. Let us assume a given wavefront arrives at MM at time t0. At this point in time, the position of MM along the red axis from Figure 2 can be expressed as ār ā sin(Īø) ā cos (2Ļfrott0 ā Ļ). As the wavefront travels along this axis at the speed of sound, the time ĪtMS(t0, Ļ, Īø) required for the wavefront to reach MS corresponds toTherefore, to frequency modulate an arbitrary signal for a given DOA, we follow the same steps as in Algorithm 1, but we omit step 1 and replace by .
A frequency modulation matrix ZFM(Ļ, Īø) can now be formulated in a similar fashion to ZFU(Ļ, Īø) from Eq. 9 by stacking the set of vectors given byHere the times are given by the previously described frequency modulation algorithm and the function g (ā ) is given in Section 3.1. Note that ZFM(Ļ, Īø) cannot be obtained by inverting ZFU(Ļ, Īø) or vice versa since both ZFU(Ļ, Īø) and ZFM(Ļ, Īø) feature very large condition numbers for inversion.
The amplitude modulation matrix ZAM(Ļ, Īø) can be formed in a similar manner to ZAU (Ļ, Īø) by stacking the set of vectors given bywhere .
Simultaneous amplitude and frequency modulation can be performed using the modulation matrix ZM(Ļ, Īø) given by ZM(Ļ, Īø) = ZFM(Ļ, Īø) ā ZAM(Ļ, Īø). Note that frequency modulation is sensitive to amplitude variations due to the utilized interpolation. This is why ZAM(Ļ, Īø) is positioned to the right of ZFM(Ļ, Īø).
3.4 Direction of arrival estimation
To estimate the azimuth angle of incoming sound sources, we compute and unmodulate a given source signal for an arbitrary number of DOA angles Ļ ā [0, 2Ļ) using the optimization discussed at the end of Section 3.1. We then estimate the PSD of each unmodulated signal in a frame-wise manner using both a long frame length of L = 8,192 and a short frame length of L = 128. The PSD is estimated by computing the squared magnitude of the RFFT of which has been windowed using a Blackman window. The frame shift is chosen such that there is one frame for each microphone rotation for L = 8,192 and 30 frames for each microphone rotation for L = 128. We will express the ith PSD frame of the unmodulated signals using a long frame length as and the one utilizing a short frame length as . The azimuth angle can now be estimated for each microphone rotation p in two different ways: One method is to compute the focusedness F (i, Ļ) of for all i and Ļ using Eq. 5. Subsequently, the azimuth estimate is determined for each i by finding the value of Ļ for which F (i, Ļ) attains its maximum. By setting i = p we obtain the estimates for each microphone rotation since the frame shift was selected such that there is one frame for each microphone rotation. We will denote the focusedness-based estimate for the pth microphone rotation as .
The second azimuth estimation method is to compute the energy Es (i, Ļ) of for all i and Ļ as and subsequently calculate the variance V (p, Ļ) of Es (i, Ļ) over the pth microphone rotation asThe azimuth estimate for the pth microphone rotation corresponds to the value of Ļ for which V (p, Ļ) has its minimum value for a given p. We will denote the variance-based estimates as .
There are numerous possibilities of combining all and into one final DOA prediction. For the sake of simplicity we choose to compute two weighted histograms, one for all and the other for , where the weights are given by and , respectively. The histograms are computed using weighted Parzen window density estimation with a kernel size of radians. This kernel size was chosen empirically as we found it provided a good trade-off between the detail and the smoothness of the histograms. Both histograms are subsequently multiplied with each other to obtain a combined histogram. The maximum value of the combined histogram represents the final azimuth angle estimate.
As an example, assume a 2Ā kHz sine wave arrives at the rotating microphone at DOA and the microphone rotation is set to frot = 42Ā Hz. The recorded signal can be simulated by transforming a sampled 2Ā kHz sine wave with . We now unmodulate this signal for 360 uniformly spaced values of Ļ. Since the microphone takes approximately 1,143 samples within each rotation, the ith unmodulated signal is obtained by omitting the first samples of the recorded signal and subsequently transforming the truncated signal with in a frame-wise manner. The PSDs of the unmodulated signals are depicted in Figure 7A. It can be observed that as the azimuth angle approaches the correct value, all sidebands of the 2Ā kHz sine wave gradually disappear. Furthermore, the focusedness F (0, Ļ) of exhibits a clear peak at Ļ = Ļ, as depicted in Figure 7C. A plot of the energy El (0, Ļ) of is included in the same figure, which, unlike our findings from Section 2.2, does not remain constant. This is caused by amplitude unmodulation, as it does not represent an energy-conserving transformation. To correct this inconsistency, we multiply each F (i, Ļ) by , where represents the mean of El (i, Ļ). The corrected plots of F (0, Ļ) and El (0, Ļ) are shown in Figure 7C. Moreover, a plot of the energy Es (i, Ļ) of is depicted in Figure 7B for one microphone rotation. As it can be observed, the energies become more uniform over time as Ļ approaches the correct angle. The variance V (0, Ļ) of Es (i, Ļ) also exhibits a clear minimum at Ļ = Ļ, as depicted in Figure 7C.
FIGURE 7
To enable localization of multiple and wideband acoustic sources, both and are decomposed into 32 subbands using a logarithmic filterbank. We then compute the focusedness F (n, p, Ļ), the correction factors and the variances V (n, p, Ļ) for each subband n, microphone rotation p, and azimuth angle Ļ. The estimates and for each subband and microphone rotation are now given by:The final DOA predictions are made by multiplying the weighted histograms of and with each other and finding peaks in the resulting combined histogram. The histogram computation follows the previously described weighted Parzen window density estimation and the histogram weights are given by and , respectively. The resulting combined histogram is then analyzed to find one or multiple peaks. If the number of sources k is known, the predictions correspond to the k tallest peaks of the histogram. However, if the number of sources is unknown, more advanced algorithms are required to determine the number of audio sources, such as those presented in Yamamoto et al. (2003).
After one or multiple azimuth predictions have been made, the colatitude can be estimated similarly by computing and for each and an arbitrary number of colatitude angles Īø ā [0, Ļ]. The colatitude estimates can then be obtained by computingand subsequently finding peaks in the combined weighted histograms of and . Note that signals arriving at for can only be distinguished from each other if the microphone directivity differs for these angles since the induced frequency modulation is identical for .
4 Evaluation
To verify the accuracy of the presented algorithm both simulations and practical experiments have been conducted for one and two acoustic sources placed at various locations. The signals used for localization include simple pure tone test signals ranging from 125Ā Hz to 8Ā kHz; more complex test signals, i.e., a combination of all those pure tones, an exponential sine sweep, and pink noise; and real-world signals, i.e., male speech, female speech, a drum groove and an excerpt from a piano concerto. All samples are amplitude-normalized and have a length of approximately 2Ā s.
4.1 Simulation
We perform simulations for rotational speeds of 24Ā Hz and 42Ā Hz, since these values correspond to the minimum and maximum speeds of our REM prototype. To simulate the modulated signals we compute the modulation matrix for each rotational speed and loudspeaker location(s) of interest and subsequently use these matrices to modulate the signals from the left column of Table 1. We use the direction-dependent magnitude response of our REM prototype to model the amplitude modulation of the amplitude modulation matrix. These magnitude responses were measured at 72 equidistant values of Ļm and all remaining values are interpolated using linear interpolation. Additionally, we apply smoothing to the interpolated , since we found this substantially reduces artifacts introduced by the modulation and unmodulation algorithm. The radius for the computation of the matrices is selected as r = 0.045ām, since this value corresponds to the rotational radius of our REM prototype. Note that following the constraints at the end of Section 3.1 the size of the modulation and unmodulation matrices is 2049 Ć 2049 for frot = 24Ā Hz and 1,025 Ć 1,025 for frot = 42Ā Hz. As a consequence, the higher rotational speed leads to an approximately four-fold increase in the algorithmās speed.
TABLE 1
| Single-source items | Two-sources items | |
|---|---|---|
| Source 1 | Source 2 | |
| 125Ā Hz Sine | 125Ā Hz Sine | 1Ā kHz Sine |
| 250Ā Hz Sine | 1Ā kHz Sine | 250Ā Hz Sine |
| 500Ā Hz Sine | 500Ā Hz Sine | 1Ā kHz Sine |
| 1Ā kHz Sine | 2Ā kHz Sine | 1Ā kHz Sine |
| 2Ā kHz Sine | 1Ā kHz Sine | 4Ā kHz Sine |
| 4Ā kHz Sine | 8Ā kHz Sine | 1Ā kHz Sine |
| 8Ā kHz Sine | Pink Noise | Male Speech |
| All 7 Sines | Female Speech | Male Speech |
| Sine Sweep | Drums | Music |
| Pink Noise | Music | Female Speech |
| Male Speech | ||
| Female Speech | ||
| Drums | ||
| Music | ||
Used audio samples for single source and two source localization.
To determine the robustness of the algorithm in the presence of noise, randomly generated pink noise is added to each modulated signal at various levels of signal-to-noise ratio (SNR). We employ pink noise as it closely resembles the wind noise that occurs during the microphone rotation. The noise level is adjusted relative to the modulated pink noise signal and mixed with the other signals at the same amplitude.
4.1.1 Single source localization
All signals from the left column of Table 1 are modulated for a DOA of and Ļ = Ļ and subsequently mixed with pink noise at SNRs ranging from ā20Ā dB to 20Ā dB. The noise in each signal is then reduced using spectral subtraction, given an estimate of the average noise spectrum obtained from a 1Ā s noise sample. Each filtered signal is subsequently unmodulated for 360 equidistant azimuth angles using the respective unmodulation matrices. Finally, the estimates and are computed for each unmodulated signal and combined into one histogram, whose largest peak corresponds to the final DOA estimate .
To quantify the accuracy of the proposed DOA estimation method we compute the absolute DOA estimation error for each modulated signal. We average the results for and Ļ = Ļ, as no notable difference in accuracy was observed for different source positions. The results can be found in Figure 8 for errors up to 60°. It can be observed that beyond 10Ā dB SNR all signals are localized with high accuracy, with the drums signal producing the worst results with a mean absolute error of 22 and 14° for frot = 24Ā Hz and frot = 42Ā Hz, respectively. In the case of single-frequency sources the microphoneās rotational speed has little impact on localization accuracy. For lower frequencies the error approximately halves for each doubling in frequency and frequencies above 500Ā Hz are localized accurately down to ā20Ā dB. The increase in localization accuracy at higher frequencies can be attributed to a corresponding increase in distortion, which results in a greater discernibility between unmodulated signals associated with good and bad DOA candidates. In the case of wideband sources the localization accuracy at frot = 42Ā Hz is approximately half that of frot = 24Ā Hz above an SNR of 10Ā dB. Higher rotational speeds introduce more distortion, making it easier to differentiate between good and bad DOA candidates. However, these additional distortions appear to provide no benefit for single frequency source localization. Additionally, our results indicate that wideband signals with a more tonal and stationary nature exhibit greater localization accuracy, whereas signals with a percussive nature demonstrate lower localization accuracy. This is due to the focusedness measure implicitly requiring the input signal to be constant during each spectrogram frame. This also explains why the exponential sine sweep sees no improvement in error beyond ā10Ā dB, since the signal is not constant during any spectrogram frame.
FIGURE 8
4.1.2 Localization of two sources
To simulate two sources arriving from different directions, we modulate the signals from the center column of Table 1 for and the signals from the right column for , Ļ = Ļ and . The modulated signals are subsequently added together, resulting in an angular separation between the simulated loudspeakers of 22.5, 90 and 180°, respectively. The combined signals are then mixed with pink noise at an SNR of 0Ā dB. Localization is again performed by reducing the noise using spectral subtraction, unmodulating the signal and computing the combined histogram of the focusedness- and spectrogram variance-based DOA estimates. The final DOA estimates correspond to the tallest and second-tallest peaks in the resulting histograms. The results are displayed in Table 2. Note that we assigned the detected peaks to the true peaks such that the combined error of both peaks is minimized. Furthermore, we assume that we have no knowledge which histogram peak is produced by which signal.
TABLE 2
| Separation | frot = 24Ā Hz | frot = 42Ā Hz | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 22.5° | 90° | 180° | 22.5° | 90° | 180° | |||||||
| Histogram Peak | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd |
| 125Ā Hz + 1Ā kHz | 0 | 89 | 1 | 89 | 1 | 89 | 0 | 87 | 2 | 88 | 1 | 88 |
| 1Ā kHz +250Ā Hz | 0 | 8 | 1 | 0 | 1 | 2 | 2 | 109 | 1 | 16 | 1 | 3 |
| 500Ā Hz + 1Ā kHz | 1 | 75 | 2 | 2 | 2 | 2 | 0 | 67 | 1 | 2 | 0 | 2 |
| 2Ā kHz + 1Ā kHz | 2 | 105 | 1 | 1 | 1 | 2 | 1 | 47 | 0 | 3 | 1 | 1 |
| 1Ā kHz + 4Ā kHz | 0 | 89 | 0 | 0 | 0 | 0 | 0 | 88 | 1 | 1 | 0 | 1 |
| 8Ā kHz + 1Ā kHz | 1 | 101 | 0 | 1 | 0 | 1 | 0 | 94 | 0 | 1 | 0 | 1 |
| Noise + Male | 10 | 60 | 21 | 16 | 3 | 39 | 5 | 29 | 8 | 110 | 6 | 137 |
| Female + Male | 8 | 67 | 28 | 4 | 50 | 160 | 33 | 38 | 34 | 73 | 3 | 140 |
| Drums + Music | 2 | 126 | 1 | 18 | 2 | 100 | 0 | 92 | 1 | 153 | 2 | 98 |
| Music + Female | 25 | 14 | 39 | 17 | 50 | 163 | 10 | 119 | 10 | 9 | 8 | 2 |
| Mean | 4.9 | 73.4 | 9.4 | 14.8 | 11.0 | 55.8 | 5.1 | 77.0 | 5.8 | 45.6 | 2.2 | 47.3 |
| SD | 7.5 | 36.1 | 13.7 | 25.7 | 19.5 | 63.6 | 9.8 | 28.9 | 10.0 | 53.0 | 2.6 | 57.8 |
| Combined Mean | 1st: 8.4 | 2nd: | 1st: 4.4 | 2nd: | ||||||||
| Combined SD | 1st: 14.7 | 2nd: | 1st: 8.3 | 2nd: | ||||||||
Simulated absolute localization error for two acoustic sources at 0Ā dB SNR, given in degrees. The combined mean and standard deviation (SD) refer to the mean absolute error of all first and second peaks, respectively. Values below 10 are highlighted in bold, while values above 30 are shaded in grey.
For frot = 24Ā Hz the tallest histogram peak exhibits an average combined error of 8.4° for all speaker separations. The minimum error of 4.9° is observed at the smallest speaker separation, which is likely due to the merging of histogram peaks. This is supported by the fact that the second histogram peak is incorrect in most cases at 22.5° speaker separation, resulting in an average error of 73.4°. The maximum error of 11.0° of the first peak is observed at the largest speaker separation. However, it is important to note that this error is heavily impacted by two outliers, namely, the āFemale + Maleā and āMusic + Femaleā signal combinations. The second histogram peak is precise for single-frequency sources above 125Ā Hz and for speaker separations above 22.5°. These sources can be localized well since their spectra do not overlap. In the case of wideband sources, localization of both sources is only accurate at 90° speaker separation with errors of 9.4 and 14.8° for the first and second histogram peaks, respectively. Localization of the second source at 180° speaker separation likely fails since, in each subband, one signal creates a maximum focusedness and spectrogram variance value where the other source creates a minimum. This increases the likelihood of one signal overpowering the other, leading to the failure of localization of the weaker signal. We hypothesize that for certain signal combinations this effect results in the detection of neither signal, as it was observed for the āFemale + Maleā and āMusic + Femaleā signal combinations.
Similar results are obtained at a rotational speed of frot = 42 Hz, however, there are two notable differences: The average combined error of the tallest histogram peak is significantly lower at 4.4°. This is likely caused by the previously discovered improvements in single source localization accuracy at higher rotational speeds. The second difference is that localization of the second source is less precise for wideband sources on average. We hypothesize that this is caused by a larger spectral spread of the signals at the higher rotational speed, resulting in more interference between the signals in each subband. We therefore conclude that localization of two sources benefits from a lower rotational speed.
4.2 Measurements
All practical measurements were captured with our REM prototype, as depicted in Figure 9, which was placed at a height of 1.2Ā m in a low-reverberant room with dimensions WĆ LĆ H = 2.75Ā m Ć 2.5Ā m Ć 2.4Ā m. In contrast to the simulation we not only captured data at rotational speeds of 24Ā Hz and 42Ā Hz, but additionally employed a rotational speed of 34Ā Hz. The choice of 34Ā Hz was made to balance the trade-off between the increase in single source localization accuracy for higher rotational speeds and the increase in self-induced noise. All signals were played at the same volume by loudspeakers situated approximately 1.3Ā m from the REM within the rotational plane. The SNR between the pink noise signal and the microphoneās self-induced noise was measured as approximately 1Ā dB, ā2.5Ā dB and ā6.5Ā dB for the three rotational speeds. More details regarding the recording setup can be found in Lawrence (2023).
FIGURE 9
Note that, as opposed to the simulation, the microphoneās rotational speed is not perfectly constant in practice. As a consequence, it is necessary to compute multiple unmodulation matrices to account for these fluctuations, which leads to a significant reduction in the algorithmās speed. Future hardware improvements are expected to help overcome this issue.
4.2.1 Single source localization
The loudspeakers were placed in the same positions as for the simulation. The noise in the captured signals is reduced using spectral subtraction, given a 1Ā s noise sample captured immediately before the signal was played. Each filtered signal is subsequently unmodulated for 360 equidistant azimuth angles and the DOA estimates are computed. The results are again averaged for and Ļ = Ļ, since no notable difference in localization accuracy could be observed for different loudspeaker placements, and are displayed in Figure 10. Localization of single-frequency signals is successful at all rotational speeds except for the 125Ā Hz and the 500Ā Hz signals. While the inability to localize the 125Ā Hz signal is consistent with our simulation, the 500Ā Hz signal presents an anomaly. We hypothesize that the non-anechoic conditions of our recording setup resulted in a standing wave at 500Ā Hz, which led to additional amplitude modulation as the microphone changed its position relative to the loudspeaker. Furthermore, it can be observed that, unlike our simulation, localization of higher frequencies is not always more accurate. We believe this error is caused by violations of the idealizing assumptions from Section 2, as well as inaccuracies within the microphoneās directivity measurements, which affect higher frequencies more heavily than low frequencies. The best average performance in single frequency localization is achieved at a rotational speed of frot = 34Ā Hz with a mean absolute error of 23°, which is significantly higher than the error range of 3ā6° produced by the simulation at 0Ā dB. The other two rotational speeds exhibit a further increase in the mean absolute error by approximately 13°. Wideband sources are localized more accurately and reliably than single-frequency sources, indicating that the errors occurring in single frequency localization cancel each other out. The best average performance for wideband source localization is achieved at a rotational speed of frot = 34Ā Hz with a mean absolute error of 5.4°, which is significantly lower than the error range of 15ā18° produced by the simulation at 0Ā dB. This is likely attributable to the fact that the harmonic noise present in the REM recordings is more effectively filtered by spectral subtraction than the additive pink noise from the simulation, resulting in a higher SNR after noise reduction. The mean absolute error at frot = 24Ā Hz and frot = 42Ā Hz is also better than the simulation at 10 and 6°, respectively. Given that the accuracy of both single-frequency and wideband localization is highest at a rotational frequency of frot = 34Ā Hz it can be inferred that there exists a trade-off between the increase in single source localization accuracy and the increase in self-induced noise for higher rotational speeds.
FIGURE 10
4.2.2 Localization of two sources
Two loudspeakers were placed in the same locations as described in Section 4.1.2 and all signals were captured with the REM at the three previously mentioned rotational speeds. The noise in each captured signal is reduced using the same procedure as explained in the previous section and then the combined histogram is computed. The results for the tallest and second-tallest histogram peaks are shown in Table 3. The tallest histogram peak has an average combined error of 9.8° for frot = 24Ā Hz. This error increases to 12.3 and 13.0° for frot = 34Ā Hz and frot = 42Ā Hz, respectively. This suggests that for two sources the benefit of a higher rotational speed observed in Section 4.1.2 is offset by the drawback of a decrease in SNR at higher rotational speeds. The accuracy of the second histogram peak deteriorates with an increase in rotational speed in a similar manner to the first histogram peak. In the case of frot = 24Ā Hz the second peak exhibits an error of 38.5° which is lower than the error of 48.0° observed in the simulation. Especially in the case of 180° speaker separation there is a significant improvement for wideband signals. Again, this improvement can likely be attributed to more effective reduction of harmonic noise, rather than the reduction of pink noise. Additionally, the phenomenon observed in Section 4.1.2, where one signal dominates the other at the 180° speaker separation, seems to be less prominent in practical scenarios. The results for single frequency sources are not as accurate as the simulation for the same reasons as the inaccuracies observed in Figure 10A. Localization of the second source fails at 22.5° speaker separation for most signals and rotational speeds, with the exception of the ā1Ā kHz + 4Ā kHzā and ā8Ā kHz + 1Ā kHzā signals. It is hypothesized that these exceptions are caused by the inaccuracies from Figure 10A, preventing the merging of the histogram peaks. We conclude that both our simulations and practical experiments indicate that the lowest investigated rotational speed of frot = 24Ā Hz leads to the most accurate localization of two sources.
TABLE 3
Separation | frot = 24Ā Hz | frot = 34Ā Hz | frot = 42Ā Hz | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 22.5° | 90° | 180° | 22.5° | 90° | 180° | 22.5° | 90° | 180° | ||||||||||
| Histogram Peak | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd | 1st | 2nd |
| 125Ā Hz + 1Ā kHz | 5 | 49 | 20 | 43 | 7 | 124 | 10 | 104 | 24 | 47 | 16 | 44 | 12 | 48 | 31 | 152 | 14 | 42 |
| 1Ā kHz +250Ā Hz | 3 | 177 | 29 | 16 | 10 | 60 | 25 | 41 | 35 | 139 | 21 | 145 | 28 | 22 | 39 | 21 | 8 | 135 |
| 500Ā Hz + 1Ā kHz | 5 | 37 | 20 | 14 | 6 | 27 | 10 | 33 | 24 | 142 | 16 | 104 | 14 | 37 | 29 | 166 | 15 | 44 |
| 2Ā kHz + 1Ā kHz | 3 | 121 | 11 | 17 | 2 | 5 | 1 | 71 | 10 | 20 | 1 | 11 | 6 | 70 | 1 | 29 | 5 | 8 |
| 1Ā kHz + 4Ā kHz | 14 | 18 | 15 | 31 | 19 | 20 | 15 | 19 | 18 | 47 | 13 | 23 | 23 | 44 | 8 | 39 | 12 | 24 |
| 8Ā kHz + 1Ā kHz | 23 | 4 | 9 | 18 | 9 | 6 | 23 | 9 | 13 | 22 | 16 | 15 | 18 | 10 | 3 | 28 | 18 | 12 |
| Noise + Male | 19 | 12 | 11 | 13 | 7 | 34 | 14 | 47 | 4 | 1 | 3 | 42 | 2 | 114 | 9 | 172 | 14 | 94 |
| Female + Male | 10 | 20 | 0 | 55 | 22 | 9 | 1 | 174 | 19 | 5 | 12 | 7 | 7 | 134 | 5 | 15 | 18 | 162 |
| Drums + Music | 6 | 103 | 4 | 10 | 1 | 2 | 11 | 78 | 9 | 1 | 0 | 0 | 8 | 93 | 17 | 14 | 6 | 2 |
| Music + Female | 0 | 98 | 4 | 4 | 1 | 9 | 1 | 86 | 0 | 4 | 3 | 142 | 6 | 120 | 10 | 30 | 3 | 106 |
| Mean | 8.8 | 63.9 | 12.3 | 22.1 | 8.4 | 29.6 | 11.1 | 66.2 | 15.6 | 42.8 | 10.1 | 53.3 | 12.4 | 69.2 | 15.2 | 66.6 | 11.3 | 62.9 |
| SD | 7.2 | 54.8 | 8.4 | 15.2 | 6.8 | 35.7 | 8.2 | 46.1 | 10.0 | 51.5 | 7.2 | 53.1 | 7.9 | 41.5 | 12.6 | 63.9 | 5.2 | 54.3 |
| Combined Mean | 1st: 9.8 | 2nd: | 1st: 12.3 | 2nd: | 1st: 13.0 | 2nd: | ||||||||||||
| Combined SD | 1st: 7.7 | 2nd: | 1st: 8.9 | 2nd: | 1st: 9.2 | 2nd: | ||||||||||||
Real-world absolute localization error for two acoustic sources, given in degrees. The combined mean and SD refer to the mean absolute error of all first and second peaks, respectively. Values below 10 are highlighted in bold, while values above 30 are shaded in grey.
5 Conclusion
We have presented a novel method for direction of arrival estimation of unknown sound sources using a single moving microphone. The method compensates for the induced frequency and amplitude modulation caused by the microphoneās rotation and estimates the direction of arrival of sound sources using spectrogram variance and focusedness measures of the unmodulated signals. We have evaluated the performance of the method in 2D using simulations and measurements with different types of signals, rotational speeds, and source positions. Our results demonstrate that the proposed method can achieve high localization accuracy for single sources, with wideband signals exhibiting particularly strong performance in practice with a mean absolute error of 5.4°. Single frequency sources are localized with a mean absolute error of 23°. Moreover, our findings indicate that a greater localization accuracy is achieved if signals are stationary and tonal in nature and consist of frequencies above 500Ā Hz. Multiple sources are also localizable for certain signal combinations, provided the angular separation between the loudspeakers is sufficiently large. Although our simulations indicate that single source localization is more effective at higher rotational speeds, the benefits of the increased speed are outweighed by the negative impact of wind and motor noise on the algorithmās performance in practice. Our practical measurements showed that of the three tested rotational speeds 34Ā Hz performed best for single sources and 24Ā Hz for two sources. We conclude that the presented algorithm can be considered the new state-of-the-art in sound localization using a single continuously rotating microphone. To the best of our knowledge, no other practical implementation currently exists which is capable of localizing multiple unknown signals under the given conditions.
Since we used a simplistic method to combine the DOA estimates for each subband and microphone rotation into one or multiple DOA estimates, we plan to develop a more optimized, data-driven approach. We anticipate this will increase the algorithmās performance and enable an automatic detection of the number of sources. Additionally, we intend to verify and evaluate the algorithm in three dimensions. To achieve full 3D localization, it is necessary to have significant differences between the magnitude responses above and below the microphone. Therefore, this endeavor will involve improving the REM prototype to exhibit distinct three-dimensional direction-dependent magnitude responses above and below the rotational plane. We expect that improvements will also be made to mitigate the effects of wind and motor noise. Finally, we plan to localize moving sources, enable localization in reverberant environments and estimate the distance between the microphone and the sources by exploiting near field effects. These enhancements will enable us to create a more robust and versatile localization system using a single moving microphone. Such a localization system has potential applications in settings that involve rotating elements. For instance, it could be integrated into Lidar sensors for self-driving cars. This application may enable acoustic vehicle detection around corners, as demonstrated in Schulz et al. (2021) using a car-mounted microphone array.
Statements
Data availability statement
The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.
Author contributions
JL: Conceptualization, Investigation, Methodology, Resources, Software, Validation, Visualization, Writingāoriginal draft, Writingāreview and editing. JA: Conceptualization, Investigation, Supervision, Writingāreview and editing. NP: Conceptualization, Investigation, Supervision, Resources, Writingāreview and editing.
Funding
The author(s) declare financial support was received for the research, authorship, and/or publication of this article. The International Audio Laboratories Erlangen are a joint institution of the Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU) and the Fraunhofer Institute for Integrated Circuits IIS.
Acknowledgments
Special thanks to the Fraunhofer IIS for granting access to its sound laboratory āMozart,ā which enabled the acquisition of the REMās direction-dependent frequency responses. Thanks also to the FAU LMS Chair for providing access to their low-reverberant room, enabling the practical verification of the presented algorithm.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisherās note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AjdlerT.SbaizL.VetterliM. (2007). Dynamic measurement of room impulse responses using a moving microphone. J. Acoust. Soc. Am.122, 1636ā1645. 10.1121/1.2766776
2
BuiN. K.MorikawaD.UnokiM. (2018). āMethod of estimating direction of arrival of sound source for monaural hearing based on temporal modulation perception,ā in 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 5014ā5018. 10.1109/ICASSP.2018.8461359
3
DudaR. O.MartensW. L. (1998). Range dependence of the response of a spherical head model. J. Acoust. Soc. Am.104, 3048ā3058. 10.1121/1.423886
4
El BadawyD.DokmaniÄI. (2018). Direction of arrival with one microphone, a few legos, and non-negative matrix factorization. IEEE/ACM Trans. Audio, Speech, Lang. Process.26, 2436ā2446. 10.1109/TASLP.2018.2867081
5
El BadawyD.DokmaniÄI.VetterliM. (2017). āAcoustic DoA estimation by one unsophisticated sensor,ā in Latent variable analysis and signal separation. Editors TichavskýP.Babaie-ZadehM.MichelO. J.Thirion-MoreauN. (Cham: Springer International Publishing), 89ā98.
6
FuchsA. K.FeldbauerC.StarkM. (2011). Monaural sound localization. Proc. Interspeech, 2521ā2524. 10.21437/Interspeech.2011-645
7
HahnN.SporsS. (2015). āContinuous measurement of impulse responses on a circle using a uniformly moving microphone,ā in 2015 23rd European Signal Processing Conference (EUSIPCO), 2536ā2540. 10.1109/EUSIPCO.2015.7362842
8
HahnN.SporsS. (2017). āContinuous measurement of spatial room impulse responses using a non-uniformly moving microphone,ā in 2017 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA), 205ā208. 10.1109/WASPAA.2017.8170024
9
HarrisJ.PuC.PrincipeJ. (2000). A monaural cue sound localizer. Analog Integr. Circuits Signal Process.23, 163ā172. 10.1023/A:1008350127376
10
HiokaY.DrageR.BoagT.EverallE. (2018). āDirection of arrival estimation using a circularly moving microphone,ā in 2018 16th International Workshop on Acoustic Signal Enhancement (IWAENC), 91ā95. 10.1109/IWAENC.2018.8521297
11
InceG.NakadaiK.RodemannT.ImuraJ.-i.NakamuraK.NakajimaH. (2011). āAssessment of single-channel ego noise estimation methods,ā in 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems, 106ā111. 10.1109/IROS.2011.6094424
12
KatzbergF.MaassM.MertinsA. (2021). āSpherical harmonic representation for dynamic sound-field measurements,ā in 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 426ā430. 10.1109/ICASSP39728.2021.9413708
13
KatzbergF.MazurR.MaassM.KochP.MertinsA. (2017). Sound-field measurement with moving microphones. J. Acoust. Soc. Am.141, 3220ā3235. 10.1121/1.4983093
14
KimK.KimY. (2015). Monaural sound localization based on structure-induced acoustic resonance. Sensors15, 3872ā3895. 10.3390/s150203872
15
LawrenceJ. (2023). Sound source localization with the rotating equatorial microphone (REM). Master thesis. Erlangen, Germany: Friedrich-Alexander-Universität Erlangen-Nürnberg. 10.13140/RG.2.2.34073.19045/1
16
LawrenceJ.AhrensJ.PetersN. (2022). āComparison of position estimation methods for the rotating equatorial microphone,ā in 2022 International Workshop on Acoustic Signal Enhancement (IWAENC), 1ā5. 10.1109/IWAENC53105.2022.9914776
17
OlverF. W. J.Olde DaalhuisA. B.LozierD. W.SchneiderB. I.BoisvertR. F.ClarkC. W.et al (2023). NIST digital library of mathematical functions. 12-15 Available at: https://dlmf.nist.gov/10.23.
18
SaxenaA.NgA. Y. (2009). āLearning sound location from a single microphone,ā in 2009 IEEE International Conference on Robotics and Automation, 1737ā1742. 10.1109/ROBOT.2009.5152861
19
SchasseA.MartinR. (2010). āLocalization of acoustic sources based on the teager-kaiser energy operator,ā in 2010 18th European Signal Processing Conference, 2191ā2195.
20
SchasseA.TendyckC.MartinR. (2012). āSource localization based on the Doppler effect,ā in IWAENC 2012; International Workshop on Acoustic Signal Enhancement, 1ā4.
21
SchmidtA.KellermannW. (2019). āInformed ego-noise suppression using motor data-driven dictionaries,ā in ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing, Brighton, United Kingdom (Piscataway, NJ: ICASSP), 116ā120. 10.1109/ICASSP.2019.8682570
22
SchulzY.MattarA. K.HehnT. M.KooijJ. F. P. (2021). Hearing what you cannot see: acoustic vehicle detection around corners. IEEE Robotics Automation Lett.6, 2587ā2594. 10.1109/LRA.2021.3062254
23
TakashimaR.TakiguchiT.ArikiY. (2010). Monaural sound-source-direction estimation using the acoustic transfer function of a parabolic reflection board. J. Acoust. Soc. Am.127, 902ā908. 10.1121/1.3278603
24
TakiguchiT.SumidaY.TakashimaR.ArikiY. (2009). Single-channel talker localization based on discrimination of acoustic transfer functions. EURASIP J. Adv. Signal Process.2009, 918404. 10.1155/2009/918404
25
TenganE.DietzenT.ElvanderF.van WaterschootT. (2023). Direction-of-arrival and power spectral density estimation using a single directional microphone and group-sparse optimization. EURASIP J. Audio, Speech, Music Process.2023, 38. 10.1186/s13636-023-00304-8
26
TenganE.TaseskaM.DietzenT.van WaterschootT. (2021). āDirection-of-arrival and power spectral density estimation using a single directional microphone,ā in 2021 29th European Signal Processing Conference (EUSIPCO), 221ā225. 10.23919/EUSIPCO54536.2021.9616239
27
Van Der PolB. (1930). Frequency modulation. Proc. Inst. Radio Eng.18, 1194ā1205. 10.1109/JRPROC.1930.222124
28
WangR.BuiN. K.MorikawaD.UnokiM. (2023). Method of estimating three-dimensional direction-of-arrival based on monaural modulation spectrum. Appl. Acoust.203, 109215. 10.1016/j.apacoust.2023.109215
29
YamamotoK.AsanoF.van RooijenW. F. G.LingE. Y. L.YamadaT.KitawakiN. (2003). āEstimation of the number of sound sources using support vector machines and its application to sound source separation,ā in 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing, 2003 (ICASSP ā03), Hong Kong, China, 6ā10 April, 2003 (IEEE). 10.1109/ICASSP.2003.1200012
Summary
Keywords
direction of arrival estimation, single moving microphone, acoustic source localization, frequency modulation, amplitude modulation, Doppler effect
Citation
Lawrence J, Ahrens J and Peters N (2024) Direction of arrival estimation using the rotating equatorial microphone. Front. Sig. Proc. 4:1341087. doi: 10.3389/frsip.2024.1341087
Received
19 November 2023
Accepted
23 January 2024
Published
29 February 2024
Volume
4 - 2024
Edited by
Thomas Dietzen, KU Leuven, Belgium
Updates
Copyright
Ā© 2024 Lawrence, Ahrens and Peters.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Jeremy Lawrence, jeremy.lawrence@fau.de
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.