Gunshot Detection Using Edge ML and Multilateration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current gunshot detection systems face challenges in accurately locating gunshots in urban environments due to high bandwidth requirements, echo issues, and incorrect location identification, especially when recording devices are blocked or sporadically placed.

Innovation Solution

The system employs microphones mounted on light fixtures across a city, using machine learning techniques and multilateration to process audio data and determine the location of gunshots by generating spectrograms and transmitting only relevant data to a remote server, reducing bandwidth usage and improving location accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If recording devices continuously stream audio data to a remote server, then gunshot detection capability is improved, but network bandwidth consumption increases significantly

Engineering Contradiction:
Improvegunshot detection capabilityVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The recording devices perform preliminary gunshot detection processing locally before transmitting data. The device analyzes audio data in real-time using machine learning models to identify gunshot sounds, and only transmits detected gunshots or relevant audio segments to the remote server, rather than continuously streaming all audio data.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system extracts and transmits only the essential information (detected gunshots and relevant audio segments) from the continuous audio stream, separating the critical detection data from the bulk audio data that remains processed locally.

Inventive Principle:
Principle #2Taking out (Extraction)

2Area of stationary object

If multiple recording devices are deployed across the city, then coverage area is improved, but processing power requirements at the remote server increase

Engineering Contradiction:
Improvecoverage areaVSAvoidprocessing power at remote server
Core Design Contradiction:
Area of stationary objectVSPower

Solution Approach 1:

The system segments the processing workload between edge devices and the remote server. Each recording device independently performs local gunshot detection using machine learning models, filtering and preprocessing audio data before transmission. This distributes computational burden across multiple independent nodes rather than concentrating all processing at the central server.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each recording device serves itself by performing local audio analysis and gunshot detection using embedded machine learning models. The devices autonomously identify gunshots and prepare data for transmission without requiring centralized processing of all audio streams, enabling independent operation and reducing remote server processing requirements.

Inventive Principle:
Principle #25Self-service

3Ease of manufacture

If recording devices are placed sporadically around the city, then deployment complexity is reduced, but location accuracy of gunshot detection deteriorates

Engineering Contradiction:
Improvedeployment complexityVSAvoidlocation accuracy
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The system uses feedback from multiple recording devices that detect the same gunshot event to improve location accuracy. When multiple devices detect a gunshot, the system analyzes the time differences of arrival and uses this feedback to calculate and refine the gunshot location through triangulation algorithms, compensating for sporadic device placement.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system transitions from relying on spatial density of devices to utilizing the temporal dimension for location determination. By analyzing the time of arrival differences of gunshot sounds at multiple sporadically placed devices, the system calculates location in the time-space domain, adding temporal measurement as an additional dimension for location precision.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

4Ease of operation

If recording devices are placed at lower heights, then installation ease is improved, but audio recording quality deteriorates due to impedance from passerby objects

Engineering Contradiction:
Improveinstallation easeVSAvoidaudio recording quality
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system changes the installation parameter from ground level to elevated positions on light fixtures. This parameter change raises the recording devices above the impedance zone created by passerby objects, vehicles, and street furniture, improving audio capture quality while maintaining straightforward installation through standardized mounting interfaces on existing light fixtures.

Inventive Principle:
Principle #35Parameter changes

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

This approach enables quick and accurate detection and notification of gunshot locations, allowing authorities to respond promptly and potentially apprehend perpetrators or collect evidence.

Implementation Method 1

A microphone may be mounted within or on the housings mounted to the light fixtures

Methodology Applied
Scientific EffectMicrophone:

Implementation Method 2

The processor(s) may execute a machine learning model with the spectrograms to determine whether the spectrograms include audio data of a gunshot

Methodology Applied
Scientific EffectMachine learning detection:

Implementation Method 3

The sound waves of gunshots can be loud and can echo off of buildings surrounding the streets in a city

Methodology Applied
Scientific EffectEcho: Echo

Data Source

PatentUS12003858B2System and method for gunshot detection
Publication Date: 2024.06.04 AURIS LLC
  • US12003858B2 patent drawing
  • US12003858B2 patent drawing
  • US12003858B2 patent drawing

AI summary

An apparatus may include a device housing; a camera; a plurality of microphones inside or mounted to the device housing; and a processor inside the device housing and electrically coupled to the plurality of microphones. The processor can be configured to receive a set of audio data from each of the plurality of microphones; execute a machine learning model using each of the sets of audio data as input to determine whether the set of audio data corresponds to an actionable sound; determine a location of the actionable sound relative to a location of the camera based on a plurality of sets of audio data determined to correspond to the actionable sound; and rotate the camera towards the determined location of the actionable sound.