The present invention pertains to the art of acoustics and, more particularly, to a method employing acoustics in connection with counting the number of gunshots shot indoors.
The broad concept of detecting gunshots utilizing acoustics is known. More specifically, it is known to provide a gunshot detecting system including an array of acoustic sensors positioned in a pattern which enables signals from the sensors to be employed to not only detect the firing of a gunshot but to also locate the origin of the shot. One main requirement of such a system is the need to accurately distinguish between the sound produced from a gunshot and a host of other ambient sounds. In at least one known arrangement, a microphone is used to detect each sound, which is then amplified, converted to an electrical signal and then the electrical signal is compared with a threshold value above which a gunshot sound is expected to exceed.
Regardless of known arrangements in this field which can detect a gunshot, there is still seen to exist a need for an acoustic gunshot detection method which can count the number of gunshots fired, particularly from an automatic or fast acting weapon.
The present invention is directed to a method for counting gunshots fired from a weapon, particularly an automatic or fast acting weapon, e.g., a weapon which can be shot multiple times in less than a 0.3 second interval. More specifically, the method is concerned with, after determining the firing of a gunshot indoors in a certain interval, determining the number of gunshots fired by analyzing consecutive windows of time over the certain interval. The method relies on the acoustic signature of the noise as collected, with the acoustic signature being analyzed to accurately count how many shots are fired. That is, after it is determined that a gun has been fired, the method is employed to identify that the gun is an automatic or rapid fire weapon by quickly counting the number of rounds shot over short periods of time. This information can be used to provide shooting details, both in connection with notifying emergency personnel and enabling the personnel to assess details of the shooting incident.
Additional objects, features and advantages of the present invention will become more readily apparent from the following detailed description of preferred embodiments when taken in conjunction with the drawings wherein like reference numerals refer to corresponding parts in the several views.
Prior to detailing the manner in which gunshots are counted in accordance with specifics of the invention, for the sake of completeness, a preferred manner in which a sound in a building or other structure is sensed and determined to be a gunshot will first be described. With initial reference to
In the most preferred form of the invention, each microphone 15, 20 constitutes a MEMS microphone which is omnidirectional. In accordance with the invention, one microphone 15 has a low sensitivity while the other microphone 20 is more sensitive. In accordance with the invention, a low sensitivity is defined as below −40 dBFS while, by “more sensitive” it is meant that microphone 20 has a sensitivity which is at least 70% greater than the sensitivity of the “low sensitivity” microphone 15. In an exemplary embodiment, microphone 15 has a low sensitivity of −46 dBFS, but with a high clipping level, specifically greater than 130 dB. On the other hand, microphone 20 has a sensitivity of −26 dBFS. Although various known microphones could be employed in connection with the invention, in one specific embodiment, currently available MEMS microphone models INMP621ACEZ-R7 and MP34DBO1TR which are digital, 16 bit microphones manufactured by InvenSense, Inc. are utilized for the first and second microphones 15 and 20 respectively.
In general, the system and method operates by initially identifying an incoming acoustic signal which could potentially be from a gunshot. For this purpose, only outputs from microphone 15 are initially, continuously analyzed for a peak amplitude level large enough to he preliminarily identified as a gunshot. Basically, since microphone 15 has a low sensitivity, microphone 15 only provides an output for very loud sounds and is essentially deaf to normal, everyday sounds emanating from within the building or structure and therefore will likely not reach a necessary threshold on any noise other than the loudest sounds. By way of example, a typical trigger value would be −5 dBFS (corresponding to a digital value of approximately 18000 based on the 16 hit unit). After a possible gunshot is identified in this manner, the system then processes acoustic signals to determine if the sound was actually from a gunshot in the manner detailed below.
Reference will now be made to
With these nominal threshold values being established, step 80 is entered wherein the maximum amplitude for each of microphones 15 and 20 is determined (Max_1 and Max_2). Next, the time at which the acoustic signal crosses the threshold is determined in step 90. Basically, there is a time lapse between first microphone 15 sensing the sound and outputting the signal which has been identified as a potential gunshot. Here, it is desired to determine time zero (T_Win_1) for the potential shot and use this time for future calculations. Although other formulations could be employed, for purposes of a preferred embodiment of the invention, T_Win_1 is set equal to the time at which the first microphone amplitude exceeds TH_1 minus a predetermined time period, preferably 10 ms, wherein T_Win1 is required to be less than Win_1, i.e., 0.3 seconds, from the point at which the amplitude is greater than Trig_1. This same calculated time zero is also used in connection with second microphone 20 (T_Win_2=T_Win_1).
Next, step 100 is entered wherein an enhanced autocorrelation is calculated. At this point, it should be recognized that enhanced autocorrelation is known based on harmonics. Here, a known method is employed to filter data by determining pitches based on frequencies. As enhanced autocorrelation methods are known, further details will not be provided here. By way of example, reference is simply made to the article “A Computationally Efficient Multipitch Analysis Model” by Tolonen et al., IEEE Transactions on Speech and Audio Processing, Vol. 8, No. 6, (November 2000), the contents of which are fully incorporated herein by reference. With the invention, the preset operational enhanced correlation window (EnAuto_Win_1) is employed.
In step 110, a maximum value of the enhanced auto correlation is determined. For this purpose, values in a first frequency range or band between 15 kHz and 25 kHz are relied upon for microphone 15. Here, the process is looking to establish a peak in this frequency range (EA_Max_15_25_1). Next, all amplitudes in a slightly larger, second frequency range, preferably 10 kHz to 25 kHz, are summed in step 120 (EA_10_25_Sum_1). Thereafter, all amplitudes in a third, distinct frequency range, preferably frequency bands between 2 kHz to 5.5 kHz, are summed in step 130 (EA_2_55_Sum_1). These two summation steps in distinct ranges are performed in connection with avoiding a false positive identification based on knowing that sounds from a gunshot have a broad range as compared to many other potentially sensed sounds.
With all the above calculations, the algorithm moves to step 140 wherein a ratio of the summation values determined in steps 130 and 120 is determined, i.e., Ratio_EA_1=EA_2_55_Sum_1/EA_10_25_Sum_1. In this step, the denominator cannot equal zero. Therefore, if EA_10_25_Sum_1 equals zero, the Ratio_EA_1 is set to a predetermined value, such as 3.0. Finally, in step 150, the RMS of microphone 20 is calculated. More specifically, the RMS of microphone 20 (RMS_Full_2) is calculated using Win_1 and starting at T_Win_2. Basically, these steps are performed to see how the sound dissipates over a relatively short period of time, say 0.3 seconds, for microphone 20. Here it should be noted that the sound associated with a gunshot takes a fair amount of time to dissipate versus, say, tapping a microphone. Therefore, it can be verified here that the RMS stays high for a requisite period of time. Additionally, it should be recognized that signals from microphone 20 can be used for further verification, e.g., sensing sounds of screaming versus laughter or minor chatter.
Once the calculations associated with the
As emphasized, the above described system and method are employed to determine that a detected sound actually does stem from a gunshot. With this as a backdrop, the present invention is particularly directed to using the acoustic signature of a gunshot and at least one of microphones 15 and 20 to actually count the number of gunshots fired, such as through rapid fire or from an automatic weapon. Initially, it should be noted that the above-described algorithms are not fully needed to identify each shot or to count the number of shots in accordance with this invention. Instead, the above algorithms are employed to detect a gunshot in a time period over which multiple gunshots could have actually occurred. Therefore, the present invention is particularly concerned with studying that same time period, but in much smaller increments and determining the actual count of gunshots throughout the time period, then repeating this process over an even larger period to establish the overall number or count of gunshots. In connection with the invention, some of the calculated, operational and nominal threshold values determined above are employed, along with some additional threshold values (including an RMS_1) as detailed below with specific reference to
Again, it is assumed that the occurrence of a shot has already occurred and it is now desired to count the number of shots. At step 300, the RMS (root-mean-square) value of microphone 15 is calculated using T_Win_1 and RMS_1. Here, RMS_1 represents the window or region over which RMS values are calculated which, in a preferred embodiment, is set at 10 ms. Therefore, where the algorithms above are based on a 0.3 second window in determining an occurrence of a gunshot, here 10 ms increments or intervals of time from T_Win_1 are analyzed in connection with counting the number of gunshots. In step 310, an average RMS is calculated by averaging multiple RMS values or points, preferably every 3 RMS points, together (RMS_Average=Average 3 points together, i.e., points 1-3, 2-4, 3-5, etc.). At step 320, the slope of consecutive points is calculated, with the slope reflecting the rate at which the RMS is changing, while also indicating the onset and falling off of a gunshot. Thereafter, if it is determined that 3 or more consecutive slope points are greater than 0 (consecutive positive slope points) and a maximum RMS value is greater than 400, then a shot count is established at step 330 and the shot count is output at step 340. The overall procedure continues until the RMS value (here the 10 ms RMS) drops below TH_1 (e.g. 5000) or ⅓ of the RMS_Average for microphone 15 (from step 300) as indicated at step 350. If step 350 is reached, the number of counts for the established interval has been determined, then, after a 10 ms delay, the entire algorithm is repeated for the next time interval. This overall process continues until the entire period or window is analyzed, resulting in a total number of shots fired inside the building in the overall time period. This count is preferably conveyed or outputted to emergency personnel for alerting or investigative purposes.
Although described with reference to preferred embodiments, it should be understood that various changes and/or modifications can be made to the invention without departing from the spirit thereof. Instead, the invention is only intended to be limited by the scope of the following claims.
This application is a § 371 National Phase Application of International Application No. PCT/US2017/046952, filed on Aug. 15, 2017, now International Publication No. WO 2018/044556, published on Mar. 8, 2018, which International Application claims the benefit under 35 USC 119(e) of U.S. Provisional Application No. 62/380,707, filed on Aug. 29, 2016, both of which are incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2017/046952 | 8/15/2017 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2018/044556 | 3/8/2018 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5455868 | Sergent et al. | Oct 1995 | A |
5917775 | Salisbury | Jun 1999 | A |
6185153 | Hynes et al. | Feb 2001 | B1 |
20050237186 | Fisher et al. | Oct 2005 | A1 |
20160209390 | Overcast | Jul 2016 | A1 |
Entry |
---|
International Preliminary Report on Patentability, dated Mar. 14, 2019, from International Application No. PCT/US2017/046952, filed on Aug. 15, 2017. 6 pages. |
International Search Report and Written Opinion, dated Nov. 6, 2017, from International Application No. PCT/US2017/046952, filed on Aug. 15, 2017. 7 pages. |
Tolonen, T. et al. “A Computationally Efficient Multipitch Analysis Model.” IEEE Transactions on Speech and Audio Processing, vol. 8, No. 6, Nov. 2000. 9 pages. |
Number | Date | Country | |
---|---|---|---|
20190186875 A1 | Jun 2019 | US |
Number | Date | Country | |
---|---|---|---|
62380707 | Aug 2016 | US |