An Automatic System for Acoustic Microphone Geometry Calibration based on Minimal Solvers

Simayijiang Zhayida, Simon Segerblom Rex, Yubin Kuang, Fredrik Andersson, Kalle ÅströmarXiv 2016

TL;DR

This paper presents a robust, end-to-end system for calibrating the 3D geometry of ad-hoc microphone networks using ambient, moving sound sources. By combining novel minimal solvers with RANSAC-based tracking, the system achieves millimeter-level localization accuracy even in highly reverberant environments without requiring prior knowledge of sound source positions or emission times.

What Problem Does This Paper Address?

Imagine scattering a handful of smartphones or IoT devices across a room. To use them as a coherent "sensor network" for tasks like beamforming (enhancing audio quality) or speaker diarization (tracking who is talking), you first need to know exactly where each microphone is located in 3D space.

This is a classic "chicken-and-egg" problem: to locate the microphones, you need known sound source positions; to locate the sound sources, you need known microphone positions. In real-world settings, this is further complicated by:

  1. Unsynchronized Sources: We don't know exactly when a sound (like a clap or a song) started.
  2. Reverberation: Sound bounces off walls and floors, creating "ghost" signals that confuse standard algorithms.
  3. Noise and Outliers: Real audio data is messy, often leading to incorrect time-difference estimates.

Methods

The authors propose a stratified approach that moves from raw audio to a refined 3D map. The pipeline consists of several key stages:

  • Signal Processing & Peak Selection: The system uses Generalized Cross-Correlation with Phase Transform (GCC-PHAT) to find time-difference-of-arrival (TDOA) between microphone pairs. Crucially, instead of just picking the strongest peak, they select the four strongest local maxima. This allows the system to keep track of both the direct sound path and early reflections (multi-path components).
  • Robust Tracking: To filter out noise, they use a non-repeating RANSAC algorithm to group these peaks into "tracklets"—short, smooth segments of sound source motion. These are then connected to form long tracks representing the direct path.
  • Geometric Minimal Solvers: This is the core mathematical innovation. The authors utilize a "double compaction matrix" and rank constraints (specifically that the matrix should be rank 3 for 3D space). They developed new, efficient minimal solvers to calculate the unknown time offsets for specific configurations (e.g., 7 microphones and 6 sound events). These solvers provide a fast, non-iterative way to initialize the geometry.
  • Non-linear Optimization: The initial estimates are refined using a Gauss-Newton scheme to minimize the reprojection error, ensuring the final positions are as accurate as possible.
  • Room Geometry Estimation: By explicitly tracking multi-path components, the system can identify "mirrored" microphone positions. These mirrored points are then used to reconstruct the major planar surfaces of the room, such as the floor and walls.
Figure 1: The paper presents a complete system for analysing sound recordings from m microphones. The figure illustrates one of the real experiments. In this experiment we used one moving sound source, shown as a red path. In the experiment there are re- verberations in the floor and the window, and numerous weaker reverberations caused by chairs, tables, humans etc. The system calculates microphone positions, room ge- ometry and sound source motion.

Datasets

The system was validated using both synthetic and real-world data:

  • Synthetic Data: Used to test the numerical stability of the TDOA solvers under varying levels of Gaussian noise.
  • Real-World Experiments: The authors used an 8-microphone array (Shure SV100 or T-bone MM-1) connected to an M-Audio interface, sampling at 96 kHz.
  • Scenarios: Data was collected in various environments, including an office, a lunch room, a lecture room, and an anechoic chamber. Sound sources included discrete claps and continuously moving sources playing music. Ground truth was established using computer vision-based structure-from-motion (SfM) techniques.
Figure 2: The hardware used for data collection, including the 8-microphone array and the audio interface.

Key Insights and Ideas

  • Embracing Multi-path: Instead of treating reflections as noise to be suppressed, the authors treat them as useful data. By tracking the top four peaks, they turn reverberation into a tool for mapping room geometry.
  • Rank Constraints for Initialization: The realization that the TDOA problem can be framed as a rank-constrained matrix problem allows for the use of algebraic geometry tools (like Macaulay2) to find minimal solvers. This avoids the common pitfall of iterative methods getting stuck in local minima.
  • Stratified Refinement: The transition from discrete "tracklets" to a global non-linear optimization mirrors successful techniques in computer vision (like SfM), proving that acoustic mapping can benefit from similar structural rigor.

Key Results

  • High Precision: In real-world tests, the system achieved a standard deviation in microphone coordinates of just 3.7 millimeters.
  • Robustness: The RANSAC-based tracking successfully reduced outliers from thousands to zero across the processing steps (see Table 2 in the paper).
  • Room Mapping: The system successfully estimated the positions of the floor, ceiling, and walls by analyzing mirrored microphone positions, as shown in Figure 14.
  • Speed: The minimal solvers are extremely fast, executing in milliseconds, which makes the RANSAC framework feasible for real-time or near-real-time applications.

Limitations and Future Work

  • Single Source Assumption: While the system can handle two simultaneous sources in anechoic chambers, most experiments focused on a single moving source. Scaling to multiple simultaneous, overlapping speakers in reverberant rooms remains a challenge.
  • Planar Surfaces: The room geometry estimation assumes that major reflective surfaces are planar. It may struggle in rooms with complex, curved, or highly irregular geometry.
  • Synchronization: The current system assumes microphones are connected to the same sound card or are otherwise synchronized. The authors suggest that future work could incorporate calibration techniques to handle unsynchronized recording devices (like multiple independent smartphones).

Summary updated

BibTeX
@misc{zhayida2016automatic,
  author = {Simayijiang Zhayida and Simon Segerblom Rex and Yubin Kuang and Fredrik Andersson and Kalle Åström},
  title = {{An Automatic System for Acoustic Microphone Geometry Calibration based on Minimal Solvers}},
  year = {2016},
  eprint = {1610.02392},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.02392},
}
Figure