1. Field of the Invention
This invention relates to a method and apparatus for detection of an acoustic alarm signal. More specifically, a band-pass filter emphasizes the dominant frequency of an audible alarm, and a controller uses a tallying algorithm to detect the temporal pattern of the alarm.
2. Description of the Prior Art
Audible alarms are commonly used for many purposes, such as warning of dangerous conditions, indicating when some process has completed, or annunciating the need for some action or intervention. Usually, such alarms are constructed with the intent of being perceived and recognized by humans. For example, a smoke detector is intended to warn people of the potential danger of fire.
In some cases, it is desirable for a machine to react to an alarm signal, without human participation. For example, a sprinkler system may be activated automatically by the signal from a fire detector.
A straightforward approach to such direct activation is to establish a direct electrical connection between the alarm source (“detector”) and the system intended to react to the detector's output. Some detectors are equipped with electrical contacts, which open or close depending on the detector's output state. These contacts may be wired to- and monitored by a separate system provided to react to the output of the detector. However, such direct connection requires special equipment or features within the detector, as well as dedicated installation of wires between the detector and the reacting system.
Therefore, it is desirable to produce a system capable of responding directly to the audible output of certain alarm systems. One application is to provide luminous- or mechanical stimuli to deaf persons in the event of a smoke detector issuing an alarm. This topic is discussed in “Smoke Detector Alarm for the Deaf”, Final Report for Phase II SBIR contract under NIH grant 2R44 DC004254-2, which is included herein by reference as reference 1. Reference 1 discusses a system wherein a microphone's output is processed by a computer program including a Fast Fourier Transform (FFT) to discern the dominant frequency of a smoke alarm conforming to the specifications given in ISO 8201, which is included herein by reference as reference 2.
Implementation of the aforementioned algorithm requires high-speed analog-to-digital conversion (“ADC”) as well as a fast and powerful computer to perform the FFT calculations. So, construction of a system based on the disclosed technology will be relatively expensive and un-suitable for low-end consumer applications.
Smoke detectors and other alarm-issuing equipments are available on the consumer market at low cost. However, other systems of similarly low cost, with capability of responding to these consumer alarms, are not available. What is lacking in the art, therefore, is an electronic system that is capable of reliably detecting a particular audible alarm at low cost.
The present invention discloses a device and method for detecting audible alarm signals, which consist of a single tone that is emitted in a known temporal pattern. The invention is particularly useful for detecting the alarm of smoke detectors compatible with ISO 8201, or other alarms with similarly well-known characteristics. In one embodiment, the output of a microphone is amplified and filtered by an analog, band-pass filter adjusted to pass the nominal tone of the alarm. The filtered signal is then compared with its nominal DC level to produce a two-level (binary) signal, which is used as the clock source for a counter. A low-power microcontroller operates the aforementioned counter for fixed time intervals, and by examining the counter's value at the end of each time interval it infers the dominant frequency of the binary signal. If the dominant frequency found in one interval is in reasonable proximity to the nominal frequency of the alarm tone, that interval is scored as “true.” Otherwise, if the dominant frequency found in a time interval is far removed from the nominal frequency of the alarm tone, that time interval is scored as “false.” The microcontroller examines the sequence of scores (“true” and “false”) for the sampled time intervals and compares the sequence to the expected pattern of the nominal alarm signal specification. If the measured sequence matches the alarm's specified sequence within a pre-defined tolerance, the microcontroller asserts that the alarm has been detected and initiates further action as the application dictates.
The present invention can be implemented using very common and inexpensive hardware, such as operational amplifiers and commercial 8-bit microcontrollers. This allows the function to be achieved at low cost. Further, the criteria for scoring the frequency content of the sampling time intervals, as well as the temporal pattern of the overall alarm sequence, are adjustable as parameters in microcode. Hence, the balance of false positive- and false negative outcomes can be adjusted simply in software, as is the case with more elaborate systems such as given in reference 1.
These and other advantages and features of the present invention will be more fully understood with reference to the presently preferred embodiments thereof and to the appended drawings.
Referring now to
If an alarm signal of the nominal frequency is present, the output 22 of comparator 12 will generally consist of a rectangular wave-form of the nominal frequency, due to the filtering action of band-pass filter 11. If no alarm signal is present, the output 22 of comparator 12 may take the form of a static (one-level) signal, provided the total amplitude of band-pass output 20 is sufficiently low. Or, the output 22 of comparator 12 may consist of a rectangular wave-form at the frequency of some other acoustic background that is present, such as noise from a motor, etc. Or, the output 22 of comparator 12 may consist of a rectangular wave-form with irregular timing due to the presence of multiple frequencies of sufficient amplitude in the background acoustic signal.
Output 22 of comparator 12 is used as a clocking signal for up-counter 13. Hence, counter 13 will increment its count by one for each cycle of its input signal, which in this case is the output 22 of comparator 12. Referring to
Microcontroller 14 periodically reads the output count of counter 13 at regular intervals, herein referred to as “sampling intervals.” By computing the difference of two successive readings of counter 13, microcontroller 14 can infer the average frequency of the comparator output 22 over the duration of time between the two readings (i.e., one sampling interval). It is desirable that the sampling interval should be long enough to include many cycles of the nominal, fundamental frequency of the alarm tone. For instance, if the sampling interval contains 10 cycles of the nominal alarm tone frequency, then there is a potential for 10% error in inferring the alarm frequency, due to mis-alignment of the edges in comparator output 22 with the sampling intervals. For this reason, the sampling frequency (i.e. the inverse of the sampling interval) should preferably be less than 1/10th of the nominal alarm tone frequency, and more preferably be less than 1/20th of the nominal alarm tone frequency.
Microcontroller 14 uses a simple comparison algorithm to judge whether the alarm tone is present. If the difference of two successive readings of the counter 13 is within a pre-defined tolerance of the nominal expected difference, it is assumed that the tone was present during that sampling interval. For instance, if the alarm tone is 1000 Hz, and if the sampling interval is 0.1 second, then nominally 100 counts should accumulate on the counter in each sampling interval. The microcontroller might use the criterion, for example that any count-difference between 90 and 110 counts will be treated as “tone present,” or “True,” and any count-difference outside of this range will be treated as “tone absent,” or “False.”
Referring to
If the sampling interval is relatively short compared to the duration of on-time or off-time of the acoustic alarm, for instance less than 1/10th of the duration of an alarm tone or of the silent period between alarm tones, then most sampling intervals will either fall completely within an active-sound period, or fall completely within a silent period. For instance, if the duration of the alarm tone is more than ten times the sampling interval, then at least nine sampling intervals will occur fully within the presence of the tone. It is possible (and likely) that sampling intervals will only partially overlap the presence of a tone burst at the beginning and end of the tone burst. So, as the number of sampling intervals within a tone burst increases, the fraction of erroneous samples due to edge-effects decreases (since the number of edges is constant at two).
Increasing the number of sampling intervals per tone burst can only be accomplished by reducing the duration of a sampling interval. But previously it was noted that it is desirable for the sampling interval to contain many cycles of the nominal fundamental frequency of the alarm. Hence there is a trade-off between errors in recognizing the frequency of the alarm tone and errors in recognizing the duration of the alarm tone. A reasonable choice for this trade-off is to choose a sampling interval that is near the geometric mean of the duration of the alarm tone and the period of one cycle of the fundamental frequency of the alarm tone. This results in approximately the same relative error in detecting the frequency and detecting the duration. However, other selections of this trade-off are possible as may be recognized by those skilled in the art.
Referring again to
Once a tone pulse is detected, the controller (
Continuing along these lines, a succession of tally criteria, matched to the expected pattern of tone pulses and gaps of silence, can be used to recognize the temporal pattern of the alarm. One of skill in the art will appreciate that this method of recognizing a temporal pattern can be implemented with very little processing power and very little memory, as compared to other methods such as the correlation function. Hence, devices of the present invention can be produced economically and therefore applied to widespread consumer applications that might not be reached by prior art methods.
Likewise, one of skill in the art will also appreciate that the use of the band-pass filter, comparator and counter allows implementation with very inexpensive components, as compared to the relatively fast ADC 3 and PC 4 of the prior art system shown in
Finally, one preferred embodiment of the invention has been described hereinabove and those of ordinary skill in the art will recognize that this embodiment may be modified and altered without departing from the central spirit and scope of the invention. Thus, the embodiment described hereinabove is to be considered in all respects as illustrative and not restrictive. The scope of the invention being indicated by the appended claims rather than the foregoing descriptions and all changes which come within the meaning and range of equivalency of the claims are intended to be embraced herein.
The present application claims the benefit of U.S. Provisional Application No. 61/602,142, filed Feb. 23, 2012. The prior application is incorporated by reference herein.
Number | Name | Date | Kind |
---|---|---|---|
2882364 | Warren | Apr 1959 | A |
3257528 | Mertler | Jun 1966 | A |
3460124 | Smith et al. | Aug 1969 | A |
3815426 | Rohner | Jun 1974 | A |
3947255 | Oliver et al. | Mar 1976 | A |
4172652 | Stein | Oct 1979 | A |
4176578 | Campbell et al. | Dec 1979 | A |
4514725 | Bristley | Apr 1985 | A |
4785474 | Bernstein et al. | Nov 1988 | A |
4811250 | Steber et al. | Mar 1989 | A |
4897862 | Nishihara et al. | Jan 1990 | A |
4935952 | Dutra | Jun 1990 | A |
5068900 | Searcy et al. | Nov 1991 | A |
5510767 | Smith | Apr 1996 | A |
5615271 | Stevens et al. | Mar 1997 | A |
5705985 | Studach | Jan 1998 | A |
5710555 | McConnell et al. | Jan 1998 | A |
5764142 | Anderson et al. | Jun 1998 | A |
5826664 | Richardson | Oct 1998 | A |
6119070 | Beneteau et al. | Sep 2000 | A |
6133839 | Ellul et al. | Oct 2000 | A |
6195011 | Winterble et al. | Feb 2001 | B1 |
6240392 | Butnaru et al. | May 2001 | B1 |
6281809 | Potter | Aug 2001 | B1 |
6362743 | Tanguay et al. | Mar 2002 | B1 |
6515589 | Schneider et al. | Feb 2003 | B2 |
6655047 | Miller | Dec 2003 | B2 |
7075445 | Booth et al. | Jul 2006 | B2 |
7477142 | Albert et al. | Jan 2009 | B2 |
7642924 | Andres et al. | Jan 2010 | B2 |
20040155770 | Nelson et al. | Aug 2004 | A1 |
20050185799 | Bertram | Aug 2005 | A1 |
20080100435 | Jorgenson et al. | May 2008 | A1 |
20080240300 | Song et al. | Oct 2008 | A1 |
20080284558 | Scheiber et al. | Nov 2008 | A1 |
20100102512 | Dar | Apr 2010 | A1 |
20100175898 | Steinicke | Jul 2010 | A1 |
20100269574 | Zeqiri | Oct 2010 | A1 |
Number | Date | Country |
---|---|---|
19922133 | Nov 2000 | DE |
2006190384 | Jul 2006 | JP |
Entry |
---|
Robert J. Roy, “Smoke Detector Alert for the Deaf”, National Institute on Deafness and Other Communication Disorders, Phase II, Final Report NIH Grant No. 2R44 DC004254-2. |
Commonly Assigned U.S. Appl. No. 14/194,748, “Appliance Shut-Off Device and Method”, filed Mar. 2, 2014 (Metesa). |
Commonly Assigned U.S. Appl. No. 14/195,881, “Appliance Shut-Off Device”, filed Mar. 4, 2014 (Metesa). |
Number | Date | Country | |
---|---|---|---|
61602142 | Feb 2012 | US |