Efficient Algorithms to Enhance the Audio Signal Management of Unmanned Aerial Vehicles (UAVs)

Final Project Report, Numerical Linear Algebra for Engineers (MA532), Embry-Riddle Aeronautical University · Jana Alaslani, Scott Bender, Rahul Donnaganti, and Anupama Kar · Instructor: Dr. Sirani Mututhanthrige Perera · Fall 2024

For the Fall 2024 final project in Numerical Linear Algebra for Engineers (MA532) at Embry-Riddle Aeronautical University, our team of four built a pipeline that models, compresses and attempts to cancel UAV noise using the Short-Time Fourier Transform (STFT) and Randomized Singular Value Decomposition (rSVD). Drone traffic is growing quickly and no noise standard exists for it yet, so efficient ways to analyze and reduce drone noise matter for both regulation and public acceptance.

Randomized SVD reconstructions closely match the original recordings across four different UAV flight paths.

Challenge

UAV recordings are large, noisy and hard to model with the standard tools.

  • The ANSI Standardization Roadmap of 2020 identified no standards for drone noise, and Florida alone logged 814 aviation noise complaints in the first nine months of 2024 through the FAA's ANCIR portal.
  • UAV noise is nonlinear: intensity falls off by the inverse-square law, pressure and intensity are related quadratically, reflections and absorption distort the waves, and people perceive loudness on a logarithmic decibel scale.
  • A plain FFT gives only a static frequency profile and suffers from spectral leakage on non-periodic signals, and FFT with Power Spectral Density (PSD) works best on stationary signals, while UAV noise is non-stationary.
  • Least Mean Square (LMS) adaptive filters struggle with narrowband, non-periodic noise.
  • The recordings, taken from NASA's DELIVER Psychoacoustic Test (WGA-I) Database, contain many samples per second, so a full SVD of the data matrix is expensive in both time and memory.

Action

Low-rank compression with SVD variants

We stacked the signals from several UAV files into one composite matrix and approximated it by keeping only the first pp singular values:

A=UΣVT,Ap=∑i=1pσiu⃗iv⃗iTA = U \Sigma V^T, \qquad A_p = \sum_{i=1}^{p} \sigma_i \vec{u}_i \vec{v}_i^T

The left singular vectors carry the spectral or temporal modes, and the singular values σi\sigma_i measure each mode's energy. To make this fast, we implemented randomized SVD in five steps:

  1. We projected AA onto a smaller subspace with a Gaussian random matrix Ω\Omega, giving Y=AΩY = A\Omega.
  2. We orthonormalized YY with a QR decomposition built from Householder reflections, which keeps the algorithm numerically stable.
  3. We projected AA onto that basis, B=QTAB = Q^T A, so that BB is only k×nk \times n with k≪m,nk \ll m, n.
  4. We ran an economical SVD on the small matrix BB.
  5. We lifted the result back to a low-rank approximation of AA.

We then compared full SVD, truncated SVD and randomized SVD in the time domain on one audio file, sweeping the rank from 1 to 1000 and recording computation time, Mean Squared Error (MSE) and Signal-to-Noise Ratio (SNR):

SNR=10log⁡(1N∑i=1NA2MSE)\text{SNR} = 10 \log \left( \frac{\frac{1}{N} \sum_{i=1}^{N} A^2}{\text{MSE}} \right)

We chose the rank at an SNR cutoff of 15 dB, a level that targets human perception rather than finer acoustic details such as rotor harmonics.

Time-frequency analysis with STFT

To follow how the UAV spectrum changes over time, we replaced the plain FFT with an STFT. We trimmed all files to the shortest length, applied a Hamming window of size 4096 with an overlap of 3072 samples, and computed an FFT for each window. Each window became one column of the spectrogram matrix, at a cost of

O(LH⋅Nlog⁡2N)O\left(\frac{L}{H} \cdot N \log_2 N\right)

flops, where LL is the signal length, HH is the hop size and NN is the FFT size. We concatenated the spectrograms and compressed them with rSVD.

Disruptive noise cancellation

We built a 3D predictive model of sound intensity around a microphone from the UAV position, using the 2-norm distance and I∝A/∥r⃗∥22I \propto A / \|\vec{r}\|_2^2. The model showed that the loudest noise in every file occurs between 10 and 15 seconds. Within that interval, we searched for dominant frequencies below 250 Hz and tested static disruptive cancellation, which adds a signal of equal amplitude and frequency shifted by 180 degrees. We also removed the dominant frequency with a notch filter and tracked its phase over time. All computations ran in MATLAB R2024b in double precision (machine precision 2.2204×10−162.2204 \times 10^{-16}), with no risk of overflow or underflow.

Result

Randomized SVD reached the 15 dB target in 0.34 s, compared with 0.89 s for truncated SVD and 0.93 s for full SVD, at the same MSE.

MethodTime (s)Flop countSNR (dB)MSERank (k)
Randomized SVD0.3369O(mnk)+O(nk2)O(mnk) + O(nk^2)15.080.000008655
Truncated SVD0.8905O(mn⋅min⁡(m,n))O(mn \cdot \min(m, n))15.050.000008431
Full SVD0.9259O(n2m+m2n)O(n^2 m + m^2 n)15.050.000008431

Computation time, MSE and SNR of randomized, truncated and full SVD across ranks 1 to 1000.

  • Randomized SVD needs a higher rank (k = 655 versus k = 431) to reach the same SNR, but it is still the fastest method.
  • Randomized SVD is also more memory-efficient, because it makes only 2 passes over AA for any kk, while truncated SVD needs O(2k)O(2k) passes.
  • The randomized SVD reconstructions matched the original recordings across several flight paths and UAVs, and at rank 655 the original and reconstructed spectrograms and dB levels were nearly identical.
  • 135 Hz produced the largest decibel change in all three UAV files, but filtering it out with a notch filter barely reduced the overall amplitude.
  • The phase of the 135 Hz component rose almost linearly from 0 to over 200 radians within the loudest 5-second interval, so a single static cancellation signal cannot stay aligned.

Notch filtering at 135 Hz barely changes the signal, and the phase of that frequency drifts quickly.

  • In a demonstration with a phase shift of 2400 radians per minute, adding a static disruptive wave made the resultant noise louder instead of quieter.
  • When the noise and its phase are fully known, as in these recorded files, a disruptive signal generated from the rSVD-compressed STFT canceled the noise completely.

Known UAV noise is canceled completely after rank-655 randomized SVD compression.

We concluded that STFT combined with randomized SVD captures the time-frequency content of non-stationary UAV noise efficiently, but SVD alone makes out-of-phase cancellation difficult because it carries no phase information. Real-world cancellation will need adaptive filtering. The approach still shows promise for drone swarms, urban noise reduction and environmental monitoring, and a natural next step is a structured neural network with Sigmoid or Tanh activations trained on a larger dataset.