Table of Contents
⚠ Disclaimer: This entry may be incomplete, out of date, or inaccurate. It is AI-maintained on a best-effort basis. Do not rely on it as a sole source — verify claims independently using the sources listed below.
Summary
A passive acoustic drone detection system based on a Raspberry Pi compute platform, a MEMS microphone array, and a trained machine learning classifier (CNN or Random Forest on MFCC features) can be built from commercially available components at low cost (roughly $120–$150 for the sensor and compute hardware; unverified estimate). This approach is particularly valuable as a backup or complement to RF detection because it works on RF-dark drones — fiber-optic FPV and pre-programmed autonomous platforms that emit no radio signals. Published MEMS-array prototypes of this class report effective ranges of roughly 50–60 m; longer ranges require larger arrays and quiet environments.
Key Facts
- Platform: Raspberry Pi 4B or Pico (for lightweight TDOA-only configurations)
- Sensor: MEMS microphone array (4–8 mics recommended for source localization)
- Classifier: Random Forest on MFCC features (best embedded performance); CNN for higher accuracy
- Dataset: Wang et al. 2025 multiclass acoustic dataset — 32 drone categories, about 3,200 recordings (about 16,000 s), publicly available
- Detection range: about 50–60 m for the published Acta Acustica prototype (varies by drone size, motor noise, ambient environment)
- Limitation: Not effective for high-altitude or silent fixed-wing platforms; ambient noise degrades performance significantly
- Status: Active academic research area; multiple implementations available on GitHub
What It Is / How It Works
Why Acoustic Detection Matters
RF-based detection systems cannot detect drones with no radio control link — specifically fiber-optic tethered FPV drones and pre-programmed autonomous waypoint drones. Acoustic detection fills this gap: every rotor-powered drone produces a characteristic acoustic signature from motor noise and blade passing frequency. A trained classifier can distinguish these signatures from background noise, birds, and aircraft.
The tradeoff is range. RF detection works at 1–15 km depending on the system. Acoustic detection with low-cost MEMS arrays works at tens of meters in published prototypes; larger arrays and vendor systems claim more. This makes acoustic sensors most useful as a close-in layer within a multi-sensor fusion architecture, providing confirmation and targeting refinement after a radar or optical sensor detects something at range.
Detection Physics
A multirotor drone produces noise at several characteristic frequencies:
- Blade passing frequency (BPF): rotational speed × number of blades per motor, typically 50–300 Hz for consumer drones
- Motor harmonics: integer multiples of BPF
- Aerodynamic broadband noise: higher-frequency hiss from blade-tip vortex shedding
Mel-Frequency Cepstral Coefficients (MFCCs) are the standard feature representation. MFCCs compress the frequency spectrum into a perceptually-weighted representation that captures the harmonic structure of drone noise. A classifier trained on MFCCs from known drone types can distinguish drone signatures from bird calls, wind, traffic, and HVAC noise with high accuracy in controlled conditions (the Acta Acustica prototype reports 91.6%).
System Architecture
Stage 1 — Audio capture: MEMS microphones continuously sample audio at 44.1 kHz or 48 kHz. Multiple microphones (4–8) in a geometric array enable Time Difference of Arrival (TDOA) calculation for direction-of-arrival estimation — determining which direction the drone is coming from.
Stage 2 — Feature extraction: Overlapping windows (typically 25ms windows with 10ms overlap) are FFT-transformed and converted to MFCC feature vectors. 13–40 MFCC coefficients per frame is the standard range.
Stage 3 — Classification: A trained Random Forest or CNN classifier evaluates each feature frame. Random Forest is preferred for embedded deployment (low RAM, fast inference, interpretable); CNN is preferred when higher accuracy justifies the compute overhead. Output: drone present / absent, plus drone class if multi-class.
Stage 4 — Localization (optional): Cross-correlation of signals across the mic array gives TDOA values; geometric computation converts TDOA to azimuth bearing. The Acta Acustica prototype localizes in 2D only; a second sensor or a spatial array (such as the tetrahedral array in the MDPI Sensors study) is needed for 3D localization.
Bill of Materials
| Component | Recommended Part | Approx. Cost (unverified estimate) | Notes |
|---|---|---|---|
| Compute | Raspberry Pi 4B (4GB) | $55 | Full pipeline; GPU-accelerated CNN via TensorFlow Lite |
| Alternate compute | Raspberry Pi Pico W | $6 | TDOA-only or lightweight RF; offload ML to cloud |
| MEMS microphones | Adafruit SPH0645 I²S MEMS (×4–8) | $8 each | Digital I²S output; low noise floor; weatherproof option available |
| ADC / audio HAT | ReSpeaker 4-Mic Array for RPi | $25 | 4-mic linear array; direct RPi HAT; includes DSP pre-processing |
| Alternate array | ReSpeaker 6-Mic Circular Array | $40 | 360° coverage; wider azimuth resolution |
| Enclosure | IP65 weatherproof junction box | $15 | Protect electronics; acoustic fabric port for mics |
| Power | PoE HAT for RPi + PoE switch | $20 + infrastructure | Single cable deployment; or 12V DC + regulator |
| MicroSD | 32GB Class 10 | $8 | For OS + model storage |
| Total (4-mic array) | ~$120–$150 | Excluding cabling and mounting hardware |
Software Stack
Operating System
Raspberry Pi OS Lite (Debian Bookworm, 64-bit). Headless operation; SSH for configuration.
Audio Capture
sounddevice (Python) or pyaudio for continuous audio stream. ALSA for low-level audio I/O. Buffer management is critical — dropped frames create false negatives.
Feature Extraction
librosa (Python) is the standard library for MFCC extraction:
import librosa
mfccs = librosa.feature.mfcc(y=audio_frame, sr=sample_rate, n_mfcc=40)
Delta and delta-delta MFCC features (first and second temporal derivatives) improve classification accuracy at modest compute cost.
Classifier Training
Random Forest:
from sklearn.ensemble import RandomForestClassifier
clf = RandomForestClassifier(n_estimators=100, max_depth=15)
clf.fit(X_train, y_train)
Random Forest models export to ONNX or joblib for embedded deployment. Typical inference time on RPi 4B: <5ms per frame.
CNN (1D or 2D on spectrogram): TensorFlow Lite for embedded deployment. CNN size after quantization is typically small enough for RPi flash storage; accuracy depends heavily on the dataset and noise conditions, so benchmark on site recordings.
Direction-of-Arrival (TDOA)
from scipy.signal import correlate
# Cross-correlate mic pairs to estimate time delay
delay = np.argmax(correlate(mic1_signal, mic2_signal)) - len(mic1_signal) + 1
Converts to angle using known mic spacing and speed of sound (adjust for temperature).
Alert Interface
MQTT publish to a home assistant / Node-RED dashboard, or HTTP POST to a central C2 API. GPIO output pin can trigger a physical alert indicator.
Training Dataset: Wang et al. 2025
The “A Multiclass Acoustic Dataset and Interactive Tool for Analyzing Drone Signatures in Real-World Environments” dataset (Wang et al., published 24 December 2025 in Advances in Science, Technology and Engineering Systems Journal, Vol. 10(6), pp. 88–96) is the most comprehensive publicly available multi-class drone acoustic dataset.
- 32 drone categories differentiated by brand and model; about 3,200 recordings totalling about 16,000 s
- Contents: Raw audio recordings, spectrogram plots, and MFCC plots for each drone type
- Tool: An interactive web visualization accompanies the dataset (see the GitHub repository)
- Code: Source available at github.com/mackenzie-jane/drone-visualization
- ArXiv preprint: arxiv.org/abs/2509.04715
Additional Datasets
- ESC-50 Environmental Sound Classification — useful for training the “not drone” class (ambient noise, birds, vehicles)
Build Steps
-
Flash Raspberry Pi OS Lite onto MicroSD. Enable SSH, I²S audio overlay in
/boot/config.txt: adddtparam=i2s=onand the relevant overlay for your mic HAT. -
Connect microphone array. For ReSpeaker HAT: seat on 40-pin GPIO header. For individual SPH0645 mics: wire SCK, WS, SD (left/right select), 3V3, GND per the I²S pinout. Verify audio capture:
arecord -D plughw:1,0 -r 48000 -f S32_LE test.wav. -
Install Python dependencies:
pip install sounddevice librosa scikit-learn numpy scipy tensorflow-lite -
Download and prepare dataset. Pull Wang et al. audio files; augment with ESC-50 for non-drone classes. Extract MFCCs from each clip and build train/test split.
-
Train classifier. Start with Random Forest for rapid iteration; switch to CNN if accuracy is insufficient. Export model:
joblib.dump(clf, 'drone_rf.pkl')or TFLite flatbuffer. -
Implement real-time inference loop. Continuous audio buffer → MFCC extraction → classifier → alert if confidence > threshold (0.8 recommended starting point). Log all detections with timestamp and MFCC snapshot.
-
Calibrate TDOA localization. With known sound source at known positions, measure actual TDOA and adjust for mic array geometry. Test bearing accuracy across 360°.
-
Field calibration. Fly a known drone at several distances and directions to establish site-specific detection range and false positive rate. Adjust confidence threshold as needed for local noise environment.
Performance Benchmarks from Literature
| Study | Architecture | Accuracy | SNR Condition |
|---|---|---|---|
| Passive acoustic MEMS + ML (Acta Acustica 2026) | 8 INMP441 mics, ESP32-S3 + Raspberry Pi 4, MFCC classifier | 91.6% (2D localization; about 50–60 m) | Outdoor prototype |
| Tetrahedral array + DNN (MDPI Sensors 2026) | DNN on tetrahedral array | Reported as 3D localization error, not classification accuracy | See paper |
Published benchmarks are typically measured under more controlled conditions than real-world deployment; expect lower accuracy in noisy industrial or urban environments.
Limitations
- Range: Low-cost MEMS arrays reach tens of meters in published prototypes; small or high-altitude drones may be undetectable beyond that
- Ambient noise: Industrial equipment, HVAC, traffic, wind all increase false positive rate; site calibration is essential
- Weather: Rain significantly degrades acoustic transmission; extreme wind creates broadband masking noise
- High-altitude drones: Fixed-wing or high-altitude multirotor platforms are often acoustically undetectable at operationally useful ranges
- No drone ID: Acoustic classification identifies drone type (if trained) but cannot provide drone serial number, pilot ID, or precise GPS location — unlike RF detection on Remote ID-equipped drones
Notable Developments
- 2026-01: Acta Acustica publishes a passive acoustic detection and localization study using 8 INMP441 MEMS microphones with an ESP32-S3 and Raspberry Pi 4; 91.6% result, 2D only, about 50–60 m
- 2025-12: Wang et al. 32-class drone acoustic dataset published in ASTESJ (24 December 2025); preprint on arXiv.
- 2026: MDPI Sensors publishes a tetrahedral microphone array study reporting 3D localization error.
Key Organizations
- Wang et al. / ASTESJ — authors and publisher of the 32-class multiclass drone acoustic dataset
- EDP Sciences (Acta Acustica) — publisher of the 2026 MEMS prototype study
- MDPI (Sensors) — publisher of the 2026 tetrahedral array study
- Raspberry Pi Ltd / Espressif — compute platforms used in the reference builds
Sources
- Wang et al. 2025: A Multiclass Acoustic Dataset (ArXiv) — 32-class drone audio dataset; interactive visualization tool
- GitHub: mackenzie-jane/drone-visualization — source code for visualization tool and dataset links
- Acta Acustica 2026: Passive acoustic detection with MEMS + ML — 8-mic MEMS prototype; 91.6%, 2D, about 50–60 m
- MDPI Sensors 2026: Tetrahedral microphone array + DNN — 3D localization error results
- Wang et al. ASTESJ journal publication — peer-reviewed version of multiclass dataset paper