Physics:Steered-response power

From HandWiki

Steered-response power (SRP) is a family of acoustic source localization algorithms that can be interpreted as a beamforming-based approach that searches for the candidate position or direction that maximizes the output of a steered delay-and-sum beamformer.[1] Steered-response power with phase transform (SRP-PHAT) is a variant using a "phase transform" to make it more robust in adverse acoustic environments.[2][3]

Algorithm

Steered-response power

Consider a system of [math]\displaystyle{ M }[/math] microphones, where each microphone is denoted by a subindex [math]\displaystyle{ m \in \{1,\dots,M\} }[/math]. The discrete-time output signal from a microphone is [math]\displaystyle{ s_m (n) }[/math]. The (unweighted) steered-response power (SRP) at a spatial point [math]\displaystyle{ \mathbf{x} = [x, y, z]^{T} }[/math] can be expressed as

[math]\displaystyle{ P_0(\mathbf{x}) \triangleq \sum_{n\in \mathbb{Z}} \left\vert \sum_{m=1}^{M} s_m(n-\tau_m(\mathbf{x})) \right\vert^{2}, }[/math]

where [math]\displaystyle{ \mathbb{Z} }[/math] denotes the set of integer numbers and [math]\displaystyle{ \tau_m(\mathbf{x}) }[/math] would be the time-lag due to the propagation from a source located at [math]\displaystyle{ \mathbf{x} }[/math] to the [math]\displaystyle{ m }[/math]-th microphone.

The (weighted) SRP can be rewritten as

[math]\displaystyle{ P(\mathbf{x}) = \frac{1}{2\pi} \sum_{m_1 = 1}^{M}\sum_{m_2 = 1}^{M} \int_{-\pi}^{\pi} \Phi_{m_1,m_2}(e^{j\omega})S_{m_1}(e^{j\omega}) S_{m_2}^{*}(e^{j\omega})e^{j\omega \tau_{m_1,m_2}(\mathbf{x})}d\omega, }[/math]

where [math]\displaystyle{ ()^{*} }[/math] denotes complex conjugation, [math]\displaystyle{ S_{m}(e^{j\omega}) }[/math] represents the discrete-time Fourier transform of [math]\displaystyle{ s_m(n) }[/math] and [math]\displaystyle{ \Phi_{m_1,m_2}(e^{j\omega}) }[/math] is a weighting function in the frequency domain (later discussed). The term [math]\displaystyle{ \tau_{m_1,m_2}(\mathbf{x}) }[/math] is the discrete time-difference of arrival (TDOA) of a signal emitted at position [math]\displaystyle{ \mathbf{x} }[/math] to microphones [math]\displaystyle{ m_1 }[/math] and [math]\displaystyle{ m_2 }[/math], given by

[math]\displaystyle{ \tau_{m_1,m_2}(\mathbf{x}) \triangleq \left\lfloor f_s \frac{\| \mathbf{x} - \mathbf{x}_{m_1}\| - \| \mathbf{x} - \mathbf{x}_{m_2}\|}{c} \right\rceil, }[/math]

where [math]\displaystyle{ f_s }[/math] is the sampling frequency of the system, [math]\displaystyle{ c }[/math] is the sound propagation speed, [math]\displaystyle{ \mathbf{x}_m }[/math] is the position of the [math]\displaystyle{ m }[/math]-th microphone, [math]\displaystyle{ \|\cdot \| }[/math] is the 2-norm and [math]\displaystyle{ \lfloor \cdot \rceil }[/math] denotes the rounding operator.

Generalized cross-correlation

The above SRP objective function can be expressed as a sum of generalized cross-correlations (GCCs) for the different microphone pairs at the time-lag corresponding to their TDOA

[math]\displaystyle{ P(\mathbf{x}) = \sum_{m_1 = 1}^{M}\sum_{m_2 = 1}^{M} R_{m_1,m_2} (\tau_{m_1,m_2}(\mathbf{x})), }[/math]

where the GCC for a microphone pair [math]\displaystyle{ (m_1,m_2) }[/math] is defined as

[math]\displaystyle{ R_{m_1,m_2}(\tau) \triangleq \frac{1}{2\pi} \int_{-\pi}^{\pi} \Phi_{m_1,m_2}(e^{j\omega})S_{m_1}(e^{j\omega}) S_{m_2}^{*}(e^{j\omega})e^{j\omega \tau}d\omega. }[/math]

The phase transform (PHAT) is an effective GCC weighting for time delay estimation in reverberant environments, that forces the GCC to consider only the phase information of the involved signals:

[math]\displaystyle{ \Phi_{m_1,m_2}(e^{j\omega}) \triangleq \frac{1}{\vert S_{m_1}(e^{j\omega}) S_{m_2}^{*}(e^{j\omega})\vert }. }[/math]

Estimation of source location

The SRP-PHAT algorithm consists in a grid-search procedure that evaluates the objective function [math]\displaystyle{ P(\mathbf{x}) }[/math] on a grid of candidate source locations [math]\displaystyle{ \mathcal{G} }[/math] to estimate the spatial location of the sound source, [math]\displaystyle{ \textbf{x}_s }[/math], as the point of the grid that provides the maximum SRP:

[math]\displaystyle{ \hat{\mathbf{x}}_s = \arg \max_{\mathbf{x}\in \mathcal{G}} P(\mathbf{x}). }[/math]

Modified SRP-PHAT

Modifications of the classical SRP-PHAT algorithm have been proposed to reduce the computational cost of the grid-search step of the algorithm and to increase the robustness of the method. In the classical SRP-PHAT, for each microphone pair and for each point of the grid, a unique integer TDOA value is selected to be the acoustic delay corresponding to that grid point. This procedure does not guarantee that all TDOAs are associated to points on the grid, nor that the spatial grid is consistent, since some of the points may not correspond to an intersection of hyperboloids. This issue becomes more problematic with coarse grids since, when the number of points is reduced, part of the TDOA information gets lost because most delays are not anymore associated to any point in the grid.

The modified SRP-PHAT[4] collects and uses the TDOA information related to the volume surrounding each spatial point of the search grid by considering a modified objective function:

[math]\displaystyle{ P'(\mathbf{x}) = \sum_{m_1 = 1}^{M}\sum_{m_2 = 1}^{M} \sum_{\tau = L^{l}_{m_1,m_2}(\mathbf{x})}^{L^{u}_{m_1,m_2}(\mathbf{x})} R_{m_1,m_2} (\tau), }[/math]

where [math]\displaystyle{ L^{l}_{m_1,m_2}(\mathbf{x}) }[/math] and [math]\displaystyle{ L^{u}_{m_1,m_2}(\mathbf{x}) }[/math] are the lower and upper accumulation limits of GCC delays, which depend on the spatial location [math]\displaystyle{ \mathbf{x} }[/math].

Accumulation limits

The accumulation limits can be calculated beforehand in an exact way by exploring the boundaries separating the regions corresponding to the points of the grid. Alternatively, they can be selected by considering the spatial gradient of the TDOA [math]\displaystyle{ \nabla_{\tau_{m_1,m_2}}(\mathbf{x}) = [\nabla_{x\tau_{m_1,m_2}}(\mathbf{x}), \nabla_{y\tau_{m_1,m_2}} (\mathbf{x}), \nabla_{z\tau_{m_1,m_2}} (\mathbf{x})]^{T} }[/math], where each component [math]\displaystyle{ \gamma \in \left\{ x, y, z \right\} }[/math] of the gradient is:

[math]\displaystyle{ \nabla_{\gamma\tau_{m_1,m_2}} (\mathbf{x}) = \frac{1}{c}\left( \frac{\gamma - \gamma_{m_1}}{\| \mathbf{x}-\mathbf{x}_{m_1}\| } - \frac{\gamma - \gamma_{m_2}}{\| \mathbf{x}-\mathbf{x}_{m_2}\| } \right). }[/math]

For a rectangular grid where neighboring points are separated a distance [math]\displaystyle{ r }[/math], the lower and upper accumulation limits are given by:

[math]\displaystyle{ L^{l}_{m_1,m_2}(\mathbf{x}) = \tau_{m_1,m_2}(\mathbf{x}) - \| \nabla_{\tau_{m_1,m_2}}(\mathbf{x}) \|\cdot d }[/math]
[math]\displaystyle{ L^{u}_{m_1,m_2}(\mathbf{x}) = \tau_{m_1,m_2}(\mathbf{x}) + \| \nabla_{\tau_{m_1,m_2}}(\mathbf{x}) \|\cdot d, }[/math]

where [math]\displaystyle{ d = (r/2)\min \left(\frac{1}{\vert \sin(\theta)\cos(\phi)\vert}, \frac{1}{\vert \sin(\theta)\sin(\phi)\vert}, \frac{1}{\vert \cos(\theta)\vert} \right) }[/math] and the gradient direction angles are given by

[math]\displaystyle{ \theta = \cos^{-1} \left( \frac{\nabla_{z\tau_{m_1,m_2}} (\mathbf{x})}{\| \nabla_{\tau_{m_1,m_2}}(\mathbf{x}) \|} \right), }[/math]
[math]\displaystyle{ \phi = \arctan_{2} \left( \nabla_{y\tau_{m_1,m_2}} (\mathbf{x}), \nabla_{x\tau_{m_1,m_2}} (\mathbf{x}) \right). }[/math]

See also

References

  1. Don H. Johnson; Dan E. Dudgeon (1993). Array Signal Processing: Concepts and Techniques. Prentice Hall. ISBN 978-0-13-048513-7. 
  2. DiBiase, J. H. (2000). A High Accuracy, Low-Latency Technique for Talker Localization in Reverberant Environments using Microphone Arrays (PDF) (Ph.D.). Brown Univ.
  3. Silverman, H. F.; Yu, Y.; Sachar, J. M.; Patterson III, W. R. (2005). "Performance of real-time source-location estimators for a large-aperture microphone array". IEEE Trans. Speech Audio Process. (IEEE) 13 (4): 593–606. doi:10.1109/TSA.2005.848875. 
  4. Cobos, M.; Marti, A.; Lopez, J. J. (2011). "A Modified SRP-PHAT Functional for Robust Real-Time Sound Source Localization With Scalable Spatial Sampling". IEEE Signal Processing Letters (IEEE) 18 (1): 71–74. doi:10.1109/LSP.2010.2091502. Bibcode2011ISPL...18...71C.