A simple demonstration and confirmation of acoustic beamforming techniques for detection Unmanned Aerial Systems (UAS). Process improved with a “whitening” Machine Learning (ML)-enhanced filter. Code available here.

Background

Check here for previous post. Just as antenna arrays may detect RF signals for angle-of-arrival (AoA) calculation, acoustic arrays may do the same at acoustic frequencies. This makes several assumptions, chiefly:

  • The microphone elements for each array are identical except for their position;
  • There are no inter-channel effects between the elements of the array;
  • The signal incident to the array is wideband, so a power calculation can effictively estimate the signal of interest, and;
  • The background noise is zero-mean gaussian.

Acoustic beamforming has a few advantages over traditional RF beamforming as well. There may be unique signal parameters in an acoustic signature undiscovered by its RF emitter. For example, a Wi-Fi or Bluetooth enabled drone may have a distinct motor sound, but is virtually unrecognizable over a congested 2.4 GHz wireless network. Acoustic frontends are often cheaper and easier to implement than clock-controlled SDRs.

Beamforming Basics

I’ve explained beamforming a few times, but the chief estimation theory for a delay-and-sum beamformer is the relationship between time delay $\tau$, element spacing $d_0$, and the angle of arrival $\theta$:

$\delta\tau(\theta) = \frac{d_0}{v}\sin\theta$

This assumes that the array is significantly far from the emitter, so each element still has the same relative angle of arrival with a small difference in samples between each array element:

Beamforming Basics

Hardware

I got the cost down to about $200 for a four-channel receive array. I used the Behringer UMC404 HD and four ECM 8000 linear microphones.

Software implementation

I wanted a scalable, plug-and-play processing solution that would let me customize my front end, choose different processing algorithims, and different display options. GNURadio seemed like a pretty good fit - thankfully, the Audio Source was already fully compatible for processing. It uses the libalsa architecture, which meant I could choose audio interfaces using (for example) plughw(0,0) in the device name block. Since I had a four-channel deck, I just customized the audio source to have four outputs, ran through my estimation algorithims, and output to an Angle of Arrival compass:

GNURadio Sample Diagram

You’ll see the four algorithims listed above:

Generalized Cross-Correlation (GCC) Phase Transform (PHAT) - for wideband noise sources (like a drone signal) estimating the phase difference between samples

GCC Steered Response Power (SRP) - maximizes the output of a steered beamformer

Multiple Signal Classification (MUSIC) - common for multiple signals or potential noise sources and ubiquitous in RF beamforming.

S($\theta$) Method - estimates based on the highest Power Spectral Density (PSD) for a given angle

Outdoor Experiment

After comfirming indoor tests using a typical noise source (my voice), I set up the equipment outside about 50m away from consumer drones. I had them fly past the array and loosely confirmed that the drones could be tracked. Each algorithim performed thusly:

Algorithm Advantage Disadvantage
GCC PHAT Fast and accurate tracking Noise or multiple targets
GCC SRP Accurate tracking Slow
MUSIC Multiple targets Noise
  Disparate / unknown targets Noise or multiple targets

If there were people talking or loud generators near the array, the results were biased heavily towards the noise source. I added a high-pass filter to eliminate these noise sources and found some success. Adding these filters gave me the idea to add a machine-learning optimized filter to “clean up” my raw audio without changing the phase of the signal.

ML Software Improvements