Readout for simple and precise analog acoustic impact initialization

An economic concept of acoustic shock wave sensing readout system for simple computer processing is introduced in this work. Its application can be found in precise initialization of the stopwatch from the starter sound, handclap or gun in competitive sport races but also in many other places. The proposed device consists of several low-cost commercially available components and it is powered by a 9 V battery. The proposed device reliably reacts on incoming acoustic shock wave by generation of explicit impulse having controllable duration. It significantly overcomes basic implementations using only a microphone and amplifier (generating parasitic burst instead of defined and distinct impulse) or systems allowing a limited number of adjustable features (gain and/or threshold of the comparator—our concept offers the adjustment of gain, cut-off frequency, threshold level and time duration of active state). In comparison with standard methods, the proposed approach simplifies and makes sensing device less expensive and universal for any powder-based starting gun (without necessity to adapt starting gun). The proposed device, among others, has the following features: impulse duration can be controlled from hundreds of μs up to 2.3 s, the gain range of linear part of processing from 6 to 40 dB and open-collector output compatible with 5 V TTL or 3.3 V CMOS logic. The initialization has been tested in the range from tens of centimeters up to four meters. In order to highlight the important spectral components, the spectral character of the signal can be optimally reduced by a low-pass filter. The quiescent power consumption of the designed simple analog circuit reaches 90 mW. Several use cases, response of the designed system on gunshot signature, talking, hand-clapping and hit on the sensing microphone, are studied and compared to each other. Simulation and experimental results confirm functionality of the realized system.

General discussion. Recently, importance of different techniques proposed to monitor audio event in various areas 1 is confirmed by numerous works. These works target on sensing of acoustic signal 1,2 , source location estimation 1,2 , acoustic sensor networks 2 and response analysis including detection of various events 3 . Nowadays, this domain belongs especially to the field of digital signal processing.
In the last decade, significant progress was observed in the signal processing of advanced detection of various types of events included the sensed audio signals, where different kinds of signals have been identified and implemented to specific libraries of the time-domain track samples (see for example 3 ) for easy classification of the type of sensed signal. Several interesting works on the topic of gunfire (as a typical representation of strong acoustic impact) localization have been presented in recent years [4][5][6] , utilizing various methods (independently located sensors in open space (open environment) 4 , a set of microphones receiving direct and reflected acoustic waves in spatial diversity 5 , fulfilling specifications for the field of standard data communication 6 ).
Such works confirm that location-specific firing 4,5 and identification of the time domain (and spectral) patterns 3,6 are interesting for several research fields. However, not only the detection of impulsive sounds and events, presented in high-quality signals, receives attention 3 . Works presented in [7][8][9][10] are focused directly on the estimation and evaluation of gunfire patterns at various surrounding conditions. Methods presented in these works are able to reveal gunshot pattern in a noisy environment 9 and under low detectable level conditions 10 . Moreover, some databases of various types of gunshot patterns exist 11 . Such methods exploit digital signal processing and they are quite complex and expensive.  Table 2. Comparison of solutions serving for time measurement (evaluation targets on starting conditions) in competitions (comparison also with systems for localization and source identification). ASIC application specific integrated circuit, FPGA field programmable gate array. *Wireless operation ensured by a complex radiocommunication module. **Discussed as suitable for auto-battery (12 V, > 40 Ah). ***Reported as delay in communication between blocks (no delay in evaluation and synchronization as mentioned in other cases). (a) SW-based counter (clock)-infinite loop with condition; (b) a special electronic gun initializing timer and creating light and sound effects; (c) a pressure sensor in special arrangement for a standard starting gun; (d) an acoustic microphone and a simple comparator with hysteresis; (e) two stages of amplifiers, peak detector, switches; (f) multichannel sound imaging (the matrix of microphones processed separately); (g) multichannel localization (direction and distance of the source of sound) calculating result from time delays in each channel (operating when SNR = 10 dB, amplifiers + Schmidt comparator in 6-8 channels); (h) multichannel localization including patter detection and distinguishing of the source of sound, i.e. processing of a full record of wave; (i) identification of the source of sound, i.e. processing of a full record of wave; (j) an acoustic microphone and analog processing chain with amplifier, filters, comparator and trigger. www.nature.com/scientificreports/ Our work, despite its relation to several above-discussed areas, has different goal. For instance, many sport competitions have a requirement for the precise starting of a stopwatch. An example of use case is competition of non-professional fire fighters teams (started by a gun fire) and natural requirement for a simple and low-cost device. Firefighter's competition has a specific evaluation of the end of a single race. The stopwatch stops the measurement of time when all "targets" have strike by water flow. It can be detected by a mechanical sensor or general button (it is not a subject of this work and design). Our work targets on the technical improvement of starting initialization. To the best of our knowledge, based on literature survey, no similar device has been reported yet. The proposed sensing device does not require such complicated approaches as presented in [1][2][3][4][5][6] . Furthermore, our work does not focus on low-intensity fire events mixed with various surrounding noises 3,9,10 . We expect clear evaluation of acoustic shock wave impact at very close position of source and sensor as well as possibility to adjust a proper sensitivity and threshold of activation. An analog-based design ensuring very effective low-cost solution is sufficient in this case as is proved by this research. Works 4,5 , for instance, dealing with localization of the event of gunshot fire, can serve for required purposes after certain modifications. A brief comparison with state of the art with a focus on particular features and also application fields is shown in Table 1.

References
A simple concept of readout (single analog sensing path from several paths of microphone microelectromechanical system based array) for acoustic signals can be found for example in 12 . However, the purpose of the work 12 is different. Undesired bursts, glitches and overshoots are present in the output waveform produced by an acoustic impact. Application of the concept presented in 12 for our intentions would lead to ambiguous initialization and detection of an acoustic shock wave. Therefore, a simply sensed and directly amplified waveform from microphone only (without further processing) is inapplicable for our purposes.
The complexity of the analog processing increases with additional blocks for clear initialization of a trigger in comparison to 12 , however, complexity is still very low in comparison to solutions with fully digital processing shown in 4-6 . These digital solutions are applicable for our purposes. However, expected power consumption, size, cost (ratio of effectivity/price) represents the main drawbacks of methods introduced in 4-6 . These solutions are not necessary when simple low-cost analog device provides sufficient features for intended application. Complex digital and mixed-mode platforms represent expensive and unreasonable way when simple low-cost analog solution can be effectively used. These solutions (application for accurate starting of stopwatch) may have issues (in real time operation of digital processing) created by standard low-cost compact microcontrollers. There certain delay is generated by standard operations (sampling, quantization, coding, digital filtering, instantaneous listening/record of data on memory, reading, etc.) as well as by intentional timing for specific software reasons regarding detection of slopes in waveform. Reacting times (from event to generation of resulting output signal for computer) of the presented analog readout are in units of milliseconds.

Analysis of available solutions of electronic sensing readouts of stopwatch. Manual stopwatch
represents the easiest way how to start the measurement of time section. For this purpose, of course, there numerous useful software (SW) applications for different equipment (e.g. smartphones and laptops) exist. However, synchronization of the start of an event with timing of manual pressing of a general button or key on a keyboard is not very good when very accurate time measurement (tens of milliseconds) is required. Typical situation occurs when referee uses a gun for the start of a race and someone else must press a button of electronic stopwatch showing the time on a light board. Some SW applications offer a complete solution including generation of a starting sound 13 . However, these methods are unsuitable for usage with standard powder-based starting guns.
Standard methods for start of electronic timekeeper use a special starting pistol connected to evaluating system directly (by cable), which generates synchronized triggering of a stopwatch 14 . It means that pushing of the gun trigger creates a flash, sets off a bang (acoustic wave generated electronically and propagated by loudspeaker connected to an electronic system), and starts the clock (it also starts the stopwatch) 14,15 . Such concepts have big disadvantage because a specially constructed gun is required. Some previously proposed systems 16 offer compatibility with any standard gun using powder shells. However, these types require special arrangement for the gun using mechanical pressure sensor to be putted in the pistol barrel 16 .
The full mechanical solution including wireless transmission from the gun to the system significantly increases the expenses of such a concept. The concept containing soundboard and the connected or inbuilt microphone of a computer (laptop) employed as sensors for initialization of a SW-based stopwatch is not the best solution. The SW using external or inbuilt microphone, or external amplifier and Schmidt comparator 17 may react on undesired signals (with different frequency spectrum, with undesired signal levels or on background noise) and then generates false activation. The sensitivity setting has significant limitation. Such a solution is unreliable when large subsequent changes in a signal (time domain) occur immediately, as it is also discussed in 18 .
On the other hand, there are methods and algorithms to detect, identify and distinguish pattern of sound (caused by a gunshot in many cases), its localization and even classification (of specific type of sound or gun) in acoustic spectrum [19][20][21] . Unfortunately, such approaches are not operating in real-time as well as the listened and recorded signal must be digitized (digital filtering, sampling, quantization, coding) and then further processed. Therefore, significant delay occurs (unsynchronized measurement) during the signal processing. Moreover, these concepts are unnecessarily robust and have high HW and SW requirements (complex and expensive solution). Consequently, application of these approaches in stopwatches and timekeepers is not very optimal (complex solution of synchronization and requirements on real time response). Table 2 shows comparison of the methods discussed above in order to show their usability for targeted purpose. Precisely selected systems for localization and source identification purposes are added for visibility of clear differences of these concepts. The analysis of the presented concepts leads to the following conclusions: www.nature.com/scientificreports/ (a) SWs used for time measurement are unsuitable due to unsynchronized manual start of the measurement by pressing of a button after gunfire 13 , (b) some special solutions are able to solve the problem completely (a single press of button activating sound and optical effects and initialization of stopwatch simultaneously) 14,15 but requirements on the gun and whole system construction (it is not universal method allowing to use any type of a starting gun) are high that leads to high costs, (c) the sensing device is a wire-connected part of the gun 14-16 , (d) only acoustic wave sensing (microphone) principle 18 offers short-range (reported up to 10 m) wireless application except devices equipped by other radiofrequency communication modules 16 where the available range is more than several tens of meters, (e) the accuracy of common methods reaches units-tens of ms [14][15][16][17] , (f) many solutions use mixed (analog and digital) design approaches [14][15][16][17][18] where a dominant part of analog signal processing is also solved digitally 15,16 , which increases demands on the used digital platform and brings additional processing delay and (g) power consumptions of the mixed solutions (in majority and if reported) overcomes 1 W and does not expect battery supply (our proposed simple system has more than ten times lower power consumption).
As it is visible, the state-of-the-art solutions requiring full recording of the sensed wave (for localization 19,20 and identification purposes 21 ) do not operate in real time, use complex and robust platforms, their signal processing delay may significantly influence the accuracy of measurement and usually are not targeted on battery supply (low-power). The distance aspects are various and not reflecting the real limits of systems because many works report conditions of the used setup instead of limits of the tested device. Generally, the distance of correct operation falls into a range of units-tens of meters.
Technical problem identification and motivation. As it was discussed in previous section, many solutions for acoustic wave signal processing (regarding gunshot) target on the detection and localization of the source of event (the source of sound and its localization). These methods require SW-based digital signal processing (pattern detection) and also additional algorithm for evaluation of several signals from several sources (multiple way of sensing and recording) 12,19,20 . These processes represent tasks for computer or robust hardware. Despite usefulness and clear advantages, there are some examples of solutions [15][16][17][18] (using more advanced analog parts than the easiest concepts) targeting to our purpose (timekeeper). However, these approaches are still very complex. Table 3 contains comparison of the analog parts of the previously discussed systems for stopwatch as well as for localization and identification purposes 12,[17][18][19][20][21] . Such a comparison showed that: (a) the simplest solution uses a microphone and amplifier that has significant drawback (not improved immunity against false activation 12 )-the system requires further signal processing in the digital part that increases delay, (b) simple systems use an electret microphone, amplifier and comparator with hysteresis 17,19 for minimization of false initialization, however, this modification is still insufficient for fast high changes of the amplitude in the sensed wave, (c) peak detectors in combination with amplification and switches are also used 18,20,21 but still insufficiently because they do not solve repeating of initializing condition after larger time (hundreds of ms) as well as existence of initializing event having lower levels causing long time of integration (inaccuracy), (d) only systems presented in [17][18][19] generates TTL impulses compatible with digital inputs (other systems serve for linear processing) and (e) very low degree of freedom of important parameters (e.g. gain and threshold) simultaneously is available in standardly used concepts [17][18][19]21 . www.nature.com/scientificreports/ Findings from the above discussion indicate that improvement of the analog part of sensing device in the point of clear initialization and adjustable parameters allows optimal setting of the sensing device. Our solution includes only very simple analog sensing device compatible with the digital input of a computer port (the analog signal is not distributed for its complete digital processing as in 12,[19][20][21]. Furthermore, low power consumption, sufficient distance operationability, sufficient accuracy and reaction time, and wireless operation (mounting of the sensing device on the gun is not necessary as in [14][15][16][17] ) are among its advantages. Our work significantly improves clear initialization of the input event (e.g. gunshot signature or hand-clapping) by additional flip-flop circuit (as can be seen in the corresponding figures later). It prevents generation of several random initializations because the monostable flip-flop cannot generate any further impulse for very long time (seconds in our case). After that the SWs for stopwatch (some of them are discussed in 13,14 ) do not allow further initialization at digital input when   Table 3) can be found in: (a) lack of wireless operation (the sensing device must be mounted on the gun or designed as a part of the gun in many cases-not universal and incompatible with any type of a gun), (b) low immunity of the device against random initialization or undesired signals, (c) high power consumption, (d) unclear definition of the generated signal of the initialized state (TTL output), (e) unsynchronized initialization with large delay and reacting time from the gun fire and start of time measurement, (f) requirements of SW for additional processing causing undesired delay (especially fully listening and recording methods using analog-to-digital converter (ADC) for further processing) and (g) lack of additional adjustment of several features improving immunity against other sources of acoustic signal (talking, music, noises, etc.).
Based on the above discussions, design requirements on our concept of sensing readout device are the following: (a) real-time operation without significant processing delay, (b) clearly defined TTL/CMOS (5/3.3 V) signal for digital input (serial port, USB, etc.), (c) no necessity of any SW processing including ADC, (d) no necessity to solve time synchronization of the source signal and the receiving system or evaluating SW, (e) operationability in a wired placement of the sensing device mounted on the gun or wirelessly (up to several meters-device not mounted on gun), (f) short-range wireless operation without radio communication module (additional power consumption) or other transmission of the sensed information (standard microphone should be sufficient), (g) low power consumption suitable for low capacity battery supply (9 V), (h) possibility to improve low signal to noise ratio (SNR) when undesired signals occur (sensitivity/gain, bandwidth/cut-off frequency, thresholds, time of active state of generated impulse), (i) compatibility with any type of powder-based starting gun and (j) usage of low-cost commercially available components.
The rest of this paper is organized as follows. The basic concept of the proposed sensing readout system and the use cases of its application are introduced in "Readout circuit for precise acoustic event initialization" section. The signal processing chain of our readout sensing device is explained in "The readout sensing device" section. This section also includes simulation-and measurement-based verification of the designed parts of designed readout system. Three different sources of events for initialization are tested and analyzed in "Experimental verification of different use cases" section. Simulation-based behavior of the system working with a sample of signal having signature of gunfire is presented in "Processing of gunfire signature" section. The paper is concluded in "Conclusion" section.

Readout circuit for precise acoustic event initialization
Block diagram of the proposed readout circuit for precise acoustic wave initialization is shown in Fig. 1. After a single strong acoustic event, a strong acoustic shock wave is detected by a microphone. The readout part transforms the wave into an electrical signal in the form of single impulse easily adaptable for TTL (5 V) and CMOS (3.3 V) levels. Next, the impulse initializes the digital counter of timer (big LED or LCD segments visible for racers as well as visiting audience) connected to a computer or laptop. We assume that the source of acoustic wave  www.nature.com/scientificreports/ and the detector (microphone or the whole readout device) are close to each other (less than 4 m). Moreover, the device or microphone can be even fixed on the source (e.g. a gun) tightly. The readout (see the block in purple color in Fig. 1) can be divided onto the following parts: (a) sensor (an electret microphone), (b) limiter of the level of input signal (expectation of various types of signal sources can be connected), (c) amplifier with settable gain (for amplitude sensitivity setting), (d) RC filter (bandwidth limitation to very low frequencies concerning low-frequency character of a shock wave), (e) comparator with large hysteresis (preventing accidental activation for fluctuations in a sensed signal-first protection) and, finally, (f) monostable flip-flop circuit (trigger) performing generation of a long impulse and also preventing random activation (second protection).

The readout sensing device
The complete circuit topology of the analog-based sensing system (readout part from Fig. 1) is shown in Fig. 2. It consists of basic building blocks connected in row starting from microphone and ending with output stage. Some of included stages are standard topologies of circuitries, used in different fields of signal processing. All stages are logically interconnected to a system for processing of the signal from microphone. The realized system combines linear as well as intentional nonlinear signal-processing operations.
A standard electret microphone 22 was selected as the source of signal that is further processed by the readout system. The microphone requires DC bias supply from standard power supply (9 V) through resistor R p = 27 kΩ (based on recommendation presented in 22 ). The diode-based limiter is complemented by a simple resistor divider (R a1 and R a2 ) and by AC coupling. It represents the first circuitry (stage) after microphone connected to the system. Resistor R a2 also clearly specifies the input resistance of the amplifier. Hence, the cut-off frequency of AC coupling between stages (high-pass response) will be f l(−3 dB) ≅ 1/(2·π·R a2 ·C V1 ), in our particular case around 1.6 Hz. The diode limiter (approx. ± 0.6 V) is sufficient for expected signal levels from various types of microphone and protects the input of the operational amplifier (OA) 23 . Analog ground created by the second OA in a single package of TL072 24 as a half of the power supply voltage (4.5 V) is important for circuitry of the noninverting amplifier 24 . This topology of the amplifier was selected due to requirement on gain, which must be always >> 1 due to the low levels coming from microphone (units of mV). Indeed, topology of non-inverting amplifier does not allow lower gains.
The OA is followed by a simple passive low-pass first-order filter (excluding coupling C V2 , R b1 creating a very low cut-off frequency as discussed above) used for limitation of the spectral character of the output voltage V 2 up www.nature.com/scientificreports/ to 1.6 kHz (f h(−3 dB) ≅ 1/(2·π·R b2 ·C F ). The filter, which can be tuned very close to the basic harmonic of the sensed waveform, significantly helps at the interference (decreased SNR) with other strong signals (such a filter is not often presented in recent designs of sensing devices, see Table 3, except 21 ). Therefore, the bandwidth limitation provides important improvement of the features of the sensing device. The magnitude frequency responses of the signal processing chain consists of AC coupling, limiter, amplifier and filter are shown in Fig. 3 (left part shows response of the amplifier, right part covers response of the amplifier and filter in cascade together). The filtering and amplifying blocks could be solved also by a single opamp-based structure. However, we have to ensure high input impedance and independent setting of gain of the amplifier for the same (unchanged) cut-off frequency that would not be available in case of a single opamp-based low-pass filter. The experimental cut-off frequencies of the amplifier reach 26.3 kHz and 2.51 MHz for gain of 40 dB and 6 dB, respectively. The exemplary gains (K V2 = 1 + R f /R g ) are set on values 2 (6 dB) and 100 (40 dB), respectively, because the expected range of gains in the processing chain falls into this range. The theoretical value of maximally settable gain reaches almost 54 dB (R f = 500 kΩ), but such a large value is not necessary.
The DSOX-3024T oscilloscope was used for recording of the presented results. The selected experimental results are also confirmed by simulations realized in PSpice (OrCad 16.6).
The next stage is the comparator with hysteresis. It is a standard concept using the open-collector output of the LM339 device 25 . The values of resistors, considering R c3 = 15 kΩ (initial selection), are obtained as follows: 26 . These equations (and real behavior) result in obtaining of R c1 = 68 kΩ and R c2 = 15 kΩ for V IN_HL = 4.5 V and V IN_LH = 1 V respectively, when we expect V OUT_H = 8 V (influence of pull up resistor having comparable value to working elements). The pull-up resistor (R pull ) equals to 4.7 kΩ (value recommended by datasheet). The hysteresis loop for this design is depicted in Fig. 4a. The values of threshold voltages, V IN_HL = 4.46 V and V IN_LH = 0.95 V, were obtained experimentally. This arrangement is necessary in order to prevent unintentional switching under the threshold of initialization (superposed noise created by talking, music, etc. supposed in low hundreds of mV). Figure 4b shows an example of experimentally tested comparator performance by input waveforms at frequency 1 kHz.
The monostable flip-flop circuit employing NE555C 27 is also used in its standard topology. The flip-flop circuit is required due to specification of duration (adjustable) for active state (shoot initialized) as well as for clear www.nature.com/scientificreports/ definition of the start of impulse. The sensed shock waveform from the microphone v 1 (t) has really very variable behavior that generates several impulses (depending on intensity) by the comparator (v 3 (t)). The amplifier can be even saturated but it is not issue. The interval of temporarily stable state 27 is defined as t i = R m ·C m ·ln (3), which at C m = 2.2 μF (selected) can be adjusted by R m up to 2.32 s (considering experimentally tested maximal value of the trimmer R m = 960 kΩ). The lowest value of t i can be approximately set to 300 μs (by R m < 100 Ω). This limit depends on the features of NE555 27 . The example of operation in time domain for R m = 100 kΩ (t i = 0.24 s) and R m = 960 kΩ (t i = 2.32 s) is shown in Fig. 5 (both cases-two pairs of traces). The units of seconds were selected for clear initialization of the detected event by LED diode lighting during the whole t i period. Of course, these properties can be easily modified till limits of the system (NE555C). Slight difference between the simulated and measured amplitudes is caused by the declared variability of the output level of real NE555 (up to 2-3 V is possible as noted in 27 ). The output open-collector transistor in the output stage (see Fig. 2) allows connection to the TTL/CMOS compatible input port of further stage by an additional pull-up resistor related to different power supply or H level. The time delay between initializing event and response of the generated impulse reaches approximately 400 μs for trigger block. Some of the used devices can be replaced by more recent ones having better features in some ways. However, it is not necessary due to minimization of costs, intended operational bandwidth and levels of processed signals.

Experimental verification of different use cases
The correct setting of sensitivity of the readout allows precise initialization on signal overcoming adjustable detectable threshold. The behavior of the whole developed sensing readout system was tested for three use cases: talking (the distance between the device and microphone is 0.5 m), handclap (up to 0.5 m from the device), and direct hit on the microphone. Distance of 0.5 m sufficiently fulfills requirements on operation because sensing device is supposed to be placed very close to the acoustic source (even the readout will be mechanically connected with the source). The sensitivity of the readout is adjusted (R f = 16 kΩ, i.e. the gain is 25 dB in all cases presented here; threshold of reaction on input level larger than approximately 200 mV) for initialization on handclap at distance approximately 0.5 m (and closer).
Talking. The readout is able to react on talking and other kind of sounds. However, the signal detectable by the system is limited (for all tests) to low frequencies (up to 1.6 kHz as default value). It is partly because of spec-  www.nature.com/scientificreports/ tral character of tested sounds, talking, clapping, etc. Sensitivity of the device has been set above common sound levels such as voice signals. Moreover, the bandwidth of the low-pass filter can be easily modified for appropriate operation when necessary. The signal levels (standardly loud voice of one vowel sound in distance up to 1 m from device) created by talking, depend on the distance between the source of the signal and microphone, but these effects (noises, music, talking, etc.) are unable to initialize the output impulse in the tested cases. The experimental results are plotted in Fig. 6. Signals v 1 (t) and v 4 (t) have almost zero value. The signal from microphone has a DC offset around 3.15 V (before AC coupling) in the tested case, but the figures show this signal without offset for better visibility in large voltage scale of vertical axis after AC coupling (C V1 , v 1 (t)). The maximum amplitude of the measured signal from the microphone is up to 50 mV (see Fig. 6b). It is visible that the device is designed to not react on this level of voice signal (signal is not detected at the output of the chain). Thereby, the output impulse is not generated, as required.
Hand-clapping. In the second tested use case (single hand clap in approximately distance 0.5 m), the microphone generates "burst" that can reach even low hundreds of mV in amplitude. Time domain response of the readout system on hand-clapping is shown in Fig. 7. The comparator (trigger) reacts by generation of a single drop of value v 3 from level H (high) to level L (low) and return back to H. It initializes the start of waveform v 4 (t) with duration of 2.32 s. Therefore, the correct setting of sensitivity (i.e. detectable level) fulfills requirement on hand-clap initialization of trigger as expected but is insensitive to voice signal. The voltage level (peak value) sufficient for initialization was set approximately as 200 mV (the threshold of sensitivity for sensed signal produced by a microphone).
Direct hit on the microphone. The last tested use case (direct hit on the microphone) represents overexcitation of the system. More precisely, it leads to the limitation of the voltages (nonlinear effects) in linear part of the system (amplifier), but it does not have influence on the correct operation of the system. The long limited bursts generated by the microphone (> 500 mV in amplitude) present the most important influence. However, such a behavior is not undesirable because the device still correctly reveals the event. It explains the reason of utilization of the monostable flip-flop in the system. This part of the signal processing chain prevents unwanted generation of several impulses due to immunity of the flip-flop against triggering through the duration of temporarily stable state and recovery time 18 . Thereby, the feature of this part is advantageous for correct behavior of the system. It eliminates nonlinear effects like multiple triggering from a single event.
Triggering and output wave generation is independent on the detailed shape of the processed signal. The initialization of the system depends on the presence of signal above some level set in the comparator part (as well as overdriving in signal paths is allowed and expected, the signal path consists of protecting parts-diode limiters). The described operation is shown in Figs. 8 and 9.
Comparison of significant results with simulations (possible also in previous cases but omitted for better clarity of figures) is shown in Fig. 9. As it is visible, outputs of simulation (the same data as in experiments recorded by microphone and exported to PSpice) well correlated with the outputs of measurements. However, some details of waveforms can be slightly different due to different behavior of real circuit elements. Nevertheless, the initialization of v 4 (t) is ensured identically in both simulations and measurements.
The quiescent power consumption of the whole device is around 90 mW. When the output impulse is generated (including LED indication), it is around 216 mW. It means life duration of 42 h for maximal power consumption (24 mA) and 100 h for quiescent power consumption (10 mA). These estimations considered the standard 9 V 6F22/PP3 Lithium battery (0.8-1.2 Ah capacity; estimation done for 1 Ah). It must be noted that these values are not high because the device is not under operation frequently (majority of the consumption consists in quiescent operation) and also the device is not under operation permanently (powered all the time). The races (non-professional fire fighters -competition of teams of local fire departments) have duration of several hours approximately. Hence, power requirements are insignificant.

Processing of gunfire signature
In this section, we present a simulation-based performance study of our proposed concept processing acoustic wave generated by gunfire. Real experiments have not been permitted in our research facilities. For this purpose, we used a signal pattern with signature of a gunshot, available on website 28 , and extracted data points in order to simulate source of this acoustic impact incoming to the input of the readout in PSpice simulator.
Current setting of threshold voltage (V IN_HL ) and gain of the amplifier defines approximate sensitivity (threshold of reaction) of the system. Optimal readjustment of threshold voltages of the comparator block (V IN_HL = 2 V, V IN_LH = 1 V, R c1 = R c3 = 15 kΩ and R c2 = 2.5 kΩ) offers narrower hysteresis window (Δh = 1 V) that is still sufficient for this application. The sensitivity of the system was set for input threshold amplitude reaction larger than 0.33 V (used lower gain of the amplifier). The obtained results are shown in Figs. 10 and 11. All figures show a detail of time window limited to 0.51 s, but trigger uses setting for t i = 2.3 s. The generation of the initializing impulse is not affected even for large amplification and limitation (flip-flop part creates protection against any further changes in the sensed signal), see Fig. 11 (threshold of reaction 50 mV). Therefore, highly accurate setting of the system is not necessary. However, as expected, it influences reacting time (t reac ) of the initialization on input acoustic event (in units of ms). Note that voice and similar signals have several times lower amplitudes (low tens of mV produced by microphone in real case).

Conclusion
In this paper, a simple readout for precise acoustic event initialization in sport race was introduced. The presented simulation and experimental results verified the performance of the realized readout circuit to detect an acoustic wave generated by various sources (intended for a hand clapping or gunshot for example). The readout circuit indicates this event behaving in range of hundreds of Hz (−3 dB limit of the filter at 1.6 kHz) by generation of a stable output impulse with settable duration, easily compatible with TTL (5 V) or CMOS (3.3 V) digital logic levels when suitable pull-up resistor to the corresponding voltage level is added. The internal amplifier ensures the amplification of the useful low-frequency signals (fitting spectral character of the expected signals) from the microphone approximately from 6 up to 40 dB with bandwidth about 1.6 kHz in all cases. The device is able to generate a stable impulse (with duration from hundreds of μs up to 2.3 s) for the signal from microphone having certain duration and causing multiple switching of the comparator even when using large hysteresis window. The operationability of the device was tested at the distance of 4 m (the results of tested cases are shown for 0.5 m). All these features and possibility of simple adjustment of sensitivity allow clear evaluation of use cases with low-level surrounding signals (e.g. talking, music, noises, other disturbances) and its simple interpretation for computer processing (synchronized start of stopwatch). The outputs of experimentally tested uses cases confirmed usefulness of the proposed readout for sport races, for instance. The basic concept of microphones and amplifiers with filters in processing chain, as shown in 12 , is insufficient for precise initialization (generation) of single impulse indicating acoustic wave impact. It is due to presence of bursts and overshoots in sensed waveform causing false initialization if not solved by further processing as shown in our work. The proposed analog readout has useful features among similarly simple and low-cost digital solutions (microcontroller units) using only microphone, amplification and antialiasing filtering before digitalization and all further steps solved in fully digital form because of real time analog evaluation without any additional delay required for standard microcontrollers and software timing. Reacting times are taking units of milliseconds. We tested the system for several scenarios. Operationability of the device for condition of gunfire initialization depends on the threshold voltage based on current sensitivity that can be modified in comparison with handclapping as documented by simulations with sample of gunshot time-domain signature.