Background of the Invention
This invention relates to a recognition system for use in classifying phenomena involving complex waveforms.
One field of application for the invention is fire detection, and the invention will be described herein principally in that context but by way of example only.
Fire detectors based on the radiation emitted by combustion products are known. These are commonly tuned to a particular narrow band of the electromagnetic spectrum. It has been found however that such detectors give poor discrimination between false alarms and genuine fires.
One object of the invention is to provide a recognition system which can provide a high degree of accuracy in distinguishing fires from other events causing the emission of radiation.
Summary of the Invention
The invention accordingly provides apparatus for recognition and classification, comprising a sensor for detecting a parameter of interest and providing an electrical signal representative thereof, calculating means arranged to derive from said signal at least one matrix representing transitions of the signal waveform, memory means storing reference matrix values of the parameter of interest, and means for comparing the signal matrix and the reference values.
The calculating, memory and comparing means may suitably be provided by a micro-computer.
From another aspect, the invention resides in a method of recognition and classification of phenomena involving complex waveforms, the method comprising detecting a waveform of interest, identifying transitions in said waveform, deriving a matrix of values related to said transitions as a representation of said waveform, and comparing said matrix with stored reference values.
The matrix may be (1) a matrix of amplitude excursion between transitions with time between transitions, or (2) amplitude at transition with amplitude at next transition. Either or, preferably, both of these may be derived and compared with respective reference values.
Brief Description of the Drawings
An embodiment of the invention will now be described, by way of example only, with reference to the drawings, in which:
FIG. 1 is a block diagram of apparatus embodying the invention;
FIG. 2 is a graphical representation of a signal detected in the apparatus of FIG. 1;
FIG. 3 is a graphical representation of a transition matrix derived from the signal of FIG. 2;
FIG. 4 is a graphical representation of a signal reversal matrix derived from the signal of FIG. 2.
FIG. 5 is a flow chart for explaining the generation of the matrix illustrated in FIG. 3; and
FIG. 6 is a flow chart for explaining the generation of the matrix illustrated in FIG. 4.
Description of the Preferred Embodiment
Referring to FIG. 1, a fire detection system comprises a radiation sensor 10 which may suitably be a broad-band detector for visible, infrared or ultraviolet light. The output of sensor 10 is amplified at 12 and passed via an automatic gain control circuit 14 to an A-to-D converter 16. The resulting digitized signal is analyzed (as will be described by microcomputer 18) if this results in recognition of a fire, an alarm signal of any convenient type is generated at 20.
The output signal from the sensor 10 will be a relatively complex waveform, part of which is shown in FIG. 2. The invention is based on deriving from the waveform one or more matrices, each representating in a simple manner information providing a significant characterization of the waveform which can then be compared with a reference.
FIG. 3 shows a "transition matrix" of the waveform of FIG. 2. This is formed by detecting the transitions or the turning points A-J of the waveform and measuring the amplitude of each, in the example shown to a resolution of five amplitude levels. The matrix is then created representing the change in amplitude between successive transitions as a 2-dimensional matrix with axes defining the start and finish amplitudes of that change. For example, between C and D the amplitude changes from 4 units to 0 units, and the step C, D is positioned to define "from 4" (horizontal axis) "to 0" (vertical axis).
The matrix of FIG. 3 is thus descriptive of the varying absolute amplitudes of the signal in a time-independent manner. FIG. 4 illustrates a "signal reversal" matrix for the same signal, which is descriptive of change (but not absolute value) of amplitude with time. Here again, the matrix is based on detecting signal transitions and their amplitudes, but the elements of the matrix are the amplitude excursion and the time between transitions. Thus, for example, between F and G the excursion (vertical axis) is 4 units and the time (horizontal axis) 5 units.
The matrices may readily be derived from the digitized detected signal by the microcomputer 18, which comprises microprocessor 22, ROM 24, and RAM 26, by appropriate software within the routine competence of a person of ordinary skill in the art.
In use, a given period of sensor signal is digitized and converted into matrix form on a repetitive basis. Each matrix is stored in RAM 26, and the microprocessor 22 then operates to compare the matrix with a reference held in ROM 24. Suitable reference patterns can be developed for loading in ROM 24 by empirical methods, specifically by using a similar sensor and associated equipment to derive matrices from actual fires and actual false-alarm-inducing phenomena. If a predetermined relationship exists between a sensor matrix and a reference matrix, an alarm indication is produced.
FIG. 5 is a flow chart which shows how the microprocessor 22 may operate to produce the matrix shown in FIG. 3. At block 28, the microprocessor 22 stores a given period of the sensor signal in digital form. At block 30, the digital waveform is sampled. At block 32, the sample is tested to check whether it represents a transition of the waveform. This may be done using a known standard technique for this purpose, such as comparing the sample value with the value of the immediately preceding sample. If the answer to the question "Is sample a transition?" is "no", the loop repeats from block 30 and tests the next sample. If the answer is "yes", the amplitude of the sample is measured and stored at block 34. At block 36, the microprocessor reads out the stored amplitude values of the first two successive stored samples. These are then stored in RAM 26, according to their relative values, so as to create a point in the matrix. This is illustrated at block 38. The microprocessor then checks whether the matrix is complete (block 39). If it is not, the waveform is sampled again (block 30) to intiate the process of producing the next matrix point. If the matrix is complete, it is read out (block 40) together with a reference matrix (block 42) stored in ROM 24. The matrices are then compared (block 44). If the comparison step indicates that a predetermined relationship exists between the sensor matrix and the reference matrix, an alarm is produced.
FIG. 6 is a flow chart for explaining how the matrix of FIG. 4 is produced. In FIG. 6, blocks 28, 30, 32 and 34 correspond to those blocks in FIG. 5. If the answer to the question "Is sample a transition?" (block 32) is "yes", the amplitude of the transition is stored (block 34) and so is its time of occurrence (block 46). At block 48, the amplitude of each stored transition sample is compared with the amplitude of the immediately previous stored transition sample to produce a value representing the amplitude excursion between the two samples. Similarly, at block 50 the time of occurrence of each stored transition sample is compared with that of the immediately previous stored transition sample to produce the elapsed time between the two samples. At blocks 52 and 54, the amplitude excursions and the elapsed times between successive transitions are read out and stored in RAM 26, their relative values being used to create (block 56) a particular point in the matrix (FIG. 4). As described with reference to FIG. 5, a check is made (block 39) whether the matrix is complete and, if not, the loop repeats from block 30 until the matrix is complete. This matrix and the reference matrix are then read out (blocks 40 and 42) and compared (block 44). If a predetermined relationship exists between the sensor matrix and the reference matrix, an alarm indication is given.
Modifications and refinements to the handling of the matrix information may be made particularly with the use of neural network pattern recognition systems. The two types of matrix described above may each be derived and compared with respective references, and the results of the two comparisons combined to give an overall probability. It is also possible to use auto-correlation, i.e., comparing the sensor signal with a delayed version of itself, to establish the degree of periodicity in the sensor signal as an auxiliary false alarm indication, a high degree of periodicity being associated with a false alarm situation. Although described above with specific reference to fire detection, the invention may be applied to recognition of other complex variable phenomena, such as explosion detection, transient analysis, and monitoring the condition of machinery.
Other modifications may be made within the scope of the invention.