# US 10,955,287 B2 · System and method of signal processing for use in gunshot detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,955,287 B2
- Document ID: US10955287B2
- Status: Granted
- Kind: B2
- Application number: 16/806,609
- Filed: 2020-03-02
- Published: 2020-09-03
- Granted: 2021-03-23
- Earliest claimed: 2019-03-01
- Assignees: Trinity Gunshot Alarm System, LLC
- Applicants: Trinity Gunshot Alarm System, LLC
- Inventors: Stacy Jax; Martin Mauersberg
- Web page: https://patentgrep.com/patent/US10955287B2

## CPC

- G01H 3/08: Analysing frequencies present in complex vibrations, e.g. comparing harmonics present {(acoustic presence detection G01V1/001)}
- G08B 13/1672: {using sonic detecting means, e.g. a microphone operating in the audio frequency range}
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L 25/51: for comparison or discrimination
- G08B 25/10: using wireless transmission systems {(G08B25/009 takes precedence)}
- G01H: MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G08B: SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

A system and method for detecting the occurrence of a gunshot are provided. The method may include receiving acoustic signals at a microphone indicative of a magnitude of the acoustic signal at a plurality of discrete frequencies, converting the acoustic signals to a digital signal and then employing a Goertzel algorithm based digital signal filter on the digital signal to produce Goertzel magnitudes at the plurality of discrete frequencies. The method subsequently determines if a maximum value of the digital signal is higher than a predefined threshold value. If the threshold value is exceeded, the method predicts if the Goertzel magnitudes at the plurality of discrete frequencies are indicative of a gunshot sound via gradient boosting; and, transmits a signal indicative of a gunshot occurrence after predicting if a possible gunshot event has occurred. A debouncer may also be utilized to suppress duplicative signals.

## Claims

### Claim 1

A method for detecting the occurrence of a gunshot, comprising the steps of:
receiving acoustic signals at a microphone indicative of a magnitude of each of the acoustic signals at a plurality of discrete frequencies;
converting each of the acoustic signals to a digital signal;
employing a Goertzel algorithm based digital signal filter on the digital signal to produce Goertzel magnitudes at the plurality of discrete frequencies;
determining if a maximum value of the digital signal, generated when converting each of the acoustic signals to the digital signal, is higher than a predefined threshold value then;
applying a gradient boosting decision tree to the Goertzel magnitudes at the plurality of discrete frequencies to predict if the Goertzel magnitudes at the plurality of discrete frequencies are indicative of a gunshot sound; and,
transmitting a signal indicative of a gunshot occurrence after predicting if a possible gunshot event has occurred.

### Claim 2 (depends on 1)

The method for detecting the occurrence of a gunshot of claim 1, wherein the plurality of discrete frequencies include at least one frequency at or below 1000 Hz, at least one frequency at or above 8000 Hz, and at least one frequency between 1000 Hz and 8000 Hz.

### Claim 3 (depends on 2)

The method for detecting the occurrence of a gunshot of claim 2, wherein the plurality of discrete frequencies includes greater than 3 frequencies.

### Claim 4 (depends on 3)

The method for detecting the occurrence of a gunshot of claim 3, wherein the plurality of discrete frequencies includes eleven frequencies.

### Claim 5 (depends on 2)

The method for detecting the occurrence of a gunshot of claim 2, wherein the plurality of discrete frequencies are selected from a group of frequency consisting of: 5, 800, 3800, 4000, 6100, 6200, 6300, 6700, 7200, and 8000 Hz.

### Claim 6 (depends on 1)

The method for detecting the occurrence of a gunshot of claim 1, wherein the step of converting the acoustic signals to a digital signal further comprises forming a series of digital signal packets for transmission to the Goertzel algorithm based digital signal filter, where each digital signal packet defines a sample duration of 10 milliseconds.

### Claim 7 (depends on 6)

The method for detecting the occurrence of a gunshot of claim 6, wherein the Goertzel algorithm based digital signal filter produces a tuple of Goertzel magnitudes corresponding to eleven discrete frequencies for each digital signal packet.

### Claim 8 (depends on 7)

The method for detecting the occurrence of a gunshot of claim 7, further comprising the step of retaining a series of ten preceding tuples of Goertzel magnitudes in a circular buffer after the tuples are produced at the Goertzel algorithm based digital signal filter.

### Claim 9 (depends on 8)

The method for detecting the occurrence of a gunshot of claim 8, wherein the circular buffer further retains the maximum value of the digital signal for the sample duration of 10 milliseconds corresponding to each digital signal packet.

### Claim 10 (depends on 9)

The method for detecting the occurrence of a gunshot of claim 9, wherein the predefined threshold value is between 160 dB and 163.5 dB.

### Claim 11 (depends on 10)

The method for detecting the occurrence of a gunshot of claim 10, further comprising transmitting the series of ten preceding tuples of Goertzel magnitudes from the circular buffer to the gradient boosting decision tree in the event that the maximum value of the digital signal is higher than the predefined threshold value of between 160 dB and 163.5 dB.

### Claim 12 (depends on 11)

The method for detecting the occurrence of a gunshot of claim 11, wherein the step of predicting if the Goertzel magnitudes at the plurality of discrete frequencies are indicative of a gunshot sound at the gradient boosting decision tree generates either a negative or positive output.

### Claim 13 (depends on 12)

The method for detecting the occurrence of a gunshot of claim 12, further comprising the steps of receiving the positive output at a debouncer and generating a signal indicative of a gunshot occurrence while suppressing duplicative signals.

### Claim 14

A gunshot detection system, comprising
at least one sensor, the sensor comprising
a microphone receiving acoustic signals,
a signal converter for converting each of the acoustic signals to a digital signal,
a processor configured to employ a Goertzel algorithm based digital signal filter on the digital signal to produce Goertzel magnitudes at a plurality of discrete frequencies for each digital signal and upon determining that a maximum value of the digital signal, that is generated when converting each of the acoustic signals to the digital signal, is higher than a predefined threshold value then applying a gradient boosting decision tree to the Goertzel magnitudes at the plurality of discrete frequencies to predict if the Goertzel magnitudes at the plurality of discrete frequencies are indicative of a gunshot sound; and,
upon predicting that the Goertzel magnitudes at the plurality of discrete frequencies are indicative of a gunshot sound then transmitting a signal indicative of a gunshot occurrence from the sensor to a trigger component;
the trigger component having transceiver configured to receive the signal indicative of the gunshot occurrence and generate an alarm.

### Claim 15 (depends on 14)

The gunshot detection system of claim 14, wherein the plurality of discrete frequencies include at least one frequency at or below 1000 Hz, at least one frequency at or above 8000 Hz, and at least one frequency between 1000 Hz and 8000 Hz.

### Claim 16 (depends on 15)

The gunshot detection system of claim 15, wherein the signal converter forms a series of digital signal packets for transmission to the Goertzel algorithm based digital signal filter, where each digital signal packet defines a sample duration of 10 milliseconds.

### Claim 17 (depends on 16)

The gunshot detection system of claim 16, wherein the Goertzel algorithm based digital signal filter produces a tuple of Goertzel magnitudes corresponding to each of the plurality of discrete frequencies for each digital signal packet.

### Claim 18 (depends on 17)

The gunshot detection system of claim 17, further comprising a circular buffer retaining a series of ten preceding tuples of Goertzel magnitudes after the tuples are produced at the Goertzel algorithm based digital signal filter.

### Claim 19 (depends on 18)

The gunshot detection system of claim 18, further comprising a classifier subjecting 10 preceding tuples of Goertzel magnitudes, received from the circular buffer, to the gradient boosting decision tree in the event that the maximum value of the digital signal over the same sample duration of 10 milliseconds is higher than the predefined threshold value of between 160 dB and 163.5 dB.

### Claim 20 (depends on 19)

The gunshot detection system of claim 19, further comprising a debouncer configured to generate a signal indicative of a gunshot occurrence while suppressing duplicative signals upon receipt of a classifier output indicative of a gunshot generating the acoustic signals received at the microphone during the same sample duration of 10 milliseconds.
