Identification of unknown gases

Abstract: A method and apparatus are described for identifying an unknown gas. An infrared spectrum of the unknown gas is generated. The described embodiment uses an infrared spectrophotometer that includes a circular variable interference filter. The infrared spectrum of the unknown gas is compressed, and compared with a library of compressed infrared spectra of reference compounds.

Description: The present invention relates to spectroscopy, and more particularly to the use of infrared absorption spectroscopy in identification of an unknown gas. Infrared absorption spectroscopy involves generating an infrared spectrum for a material such as a gas or vapour. A material's infrared spectrum is a measure of the tendency of the material to absorb infrared energy having wavelengths that vary across a predetermined band of infrared wavelengths. For example, many applications use the mid-infrared spectral band, which includes wavelengths from 2.5 micrometers to approximately 14 micrometers. The material's infrared spectrum is generated by measuring the degree of absorption for each wavelength in the spectrum, and plotting absorption versus wavelength. Different chemical compounds produce vastly differing characteristic spectral profiles or "signatures" over the mid-infrared spectral band, by which they can be readily recognized. Thus, to identify an unknown gas, the infrared spectrum of the unknown gas is visually or mathematically compared with the infrared spectra of a number of reference gases. By comparing the unknown spectrum with a library of reference compounds, the most likely match to the unknown gas can be determined. If the shape of the infrared spectrum of the unknown gas matches that of the infrared spectrum of a reference gas within a defined tolerance, there is a high probability that the two gases are the same. US Patent 4 818 875 discloses a portable battery-operated ambient air analyzer comprising an electrically energized incandescent source of infrared radiation producing a beam passing through an air sample to a sensor. The infrared source is surrounded by an explosion-proof enclosure to prevent an explosion internally of the enclosure being propagated out to the atmosphere. The incandescent source is a self-supporting filamentary coil having no interior coil or mandrel. The coil is formed of a metal composition including aluminium, chromium and ion. The beam of infrared radiation produced by the source is directed to a circular variable filter. In one aspect, generally, the invention features identifying an unknown gas by generating an infrared spectrum of the unknown gas using an infrared spectrophotometer that includes a circular variable interference filter, compressing the infrared spectrum of the unknown gas, and comparing the compressed infrared spectrum of the unknown gas to a library of compressed infrared spectra of reference compounds. In some embodiments, the spectrum of the unknown gas is normalized prior to compression to further ease comparison with the library of reference compounds. Because the infrared spectrum of the unknown gas is generated using a circular variable interference filter, a relatively light weight instrument that can be operated on battery power and operates well even when faced with dirt, vibration, and other rigours of field operation, the method in its first aspect is particularly useful when implemented as a portable system. Thus, embodiments of the method are of particular use to industrial hygienists and other safety personnel because it enables them to quickly identify gases andvapours in the field without incurring the expense and delays of transporting air samples to a laboratory for analysis. This, of course, reduces the risks of chemical exposure and allows immediate decisions to be made on remedial action. Moreover, use of the method avoids the risk that reactive or absorption-prone samples will have decomposed or otherwise decayed in their sample containers before reaching the laboratory for analysis. Though the circular variable interference filter is a relatively low resolution device, this aspect of our method allows a surprisingly reliable comparison of the spectrum of the unknown gas with a library of reference compound spectra obtained using higher resolution infrared spectrophotometers. This improves the accuracy of the comparison process because it ensures that the spectrum of the unknown gas is compared against highly accurate representations of the spectra of the reference compounds, even though the reference spectra were produced by a different technology. The described arrangement also features sampling the background air prior to sampling the unknown gas and modifying the infrared spectrum of the unknown gas to account for materials present in the background air. Thus, for example, if the identification of a gas is occurring in an area in which the background air has high levels of particular compounds -- such as along a busy highway where auto exhaust fumes are at increased levels, use of the background air sample reduces any risk of misidentification that might result from the increased levels of those compounds. We describe herein how to identify an unknown gas by generating an infrared spectrum of the unknown gas, compressing the infrared spectrum of the unknown gas, comparing the compressed infrared spectrum of the unknown gas to a library of compressed infrared spectra of reference compounds, and decompressing the compressed infrared spectra of reference compounds that most closely match the compressed infrared spectrum of the unknown gas, preferably the best three. The decompressed infrared spectra are then suitably displayed with the infrared spectrum of the unknown gas for visual confirmation of the accuracy of the identification. The preferred compression ratio of 10:1 has been found to produce decompressed displayed spectra with a variance of only about 1% from the original. We also describe herein how to identify an unknown gas by producing a set of data corresponding to infrared characteristics of the unknown gas using an infrared spectrophotometer including a circular variable interference filter that includes a plurality of segments. Each of the segments transmits infrared energy across a frequency band from a starting frequency at a first end of the segment and to an ending frequency at a second end of the segment. An infrared spectrum of the unknown gas is then generated using the set of data and information designating the starting and ending frequencies of each of the segments of the variable interference filter. Finally, this infrared spectrum is compared to a set of infrared spectra in a library of reference compounds. Typically, the information designating the starting and ending frequencies of each of the segments is unique to a particular infrared spectrophotometer, i.e., the information varies from unit to unit. In a second and alternative aspect of this invention, there is provided an apparatus for identifying an unknown gas, an infrared spectrophotometer including a circular variable interference filter for producing an infrared spectrum of said unknown gas; characterized in further comprising: circuitry for compressing said infrared spectrum of said unknown gas; a library of compressed infrared spectra of reference compounds compressed from infrared spectra obtained using an infrared spectrophotometer that does not include a circular variable interference filter and has higher resolution than said infrared spectrophotometer used in generating said infrared spectrum of said unknown gas; and circuitry for comparing said compressed infrared spectrum of said unknown gas to said compressed infrared spectra of reference compounds. Features of the apparatus may be related to features of specific embodiments described in detail hereinbelow as follows: There is described an apparatus for identifying an unknown gas, comprising an infrared spectrophotometer (10) including a circular variable interference filter (24) for producing an infrared spectrum of said unknown gas; the apparatus further comprising circuitry (26,12) for compressing the infrared spectrum of the unknown gas; a library of compressed infrared spectra of reference compounds compressed from infrared spectra obtained using an infrared spectrophotometer that does not include a circular variable interference filter and has higher resolution than said infrared spectrophotometer used in generating said infrared spectrum of said unknown gas; and circuitry (12) for comparing said compressed infrared spectrum of said unknown gas to head compressed infrared spectra of reference compounds. Needless to say, reference numerals used in the foregoing paragraph are not intended to have any restrictive effect but are provided solely for the purpose of illustration. The invention is hereinafter more particularly described by way of example only with reference to the accompanying drawings, in which:- Figure 1 shows a preferred embodiment of a portable unknown gas identification system constructed according to the invention; Fig. 2 is a cutaway perspective view of an infrared spectrophotometer used in the system of Fig. 1; Fig. 3 is a block diagram of the procedure implemented by the system of Fig. 1; Fig. 4 is a block diagram of the procedure implemented by a computer of the system of Fig. 1 to analyze the infrared spectrum of an unknown gas; Fig. 5 is a graph showing representations of sample spectra for an unknown gas and two reference gases; and Fig. 6 is a representation of how infrared spectra are displayed to a user of the system of Fig. 1. As shown in Fig. 1, a portable unknown gas identification system 8 includes a portable infrared spectrophotometer 10 such as the MIRAN 1B2 or 1BX produced by The Foxboro Company, of Foxboro, Massachusetts. Portable infrared spectrophotometer 10 is connected to a portable computer 12 via a serial cable 14. Portable computer 12 compares an infrared spectrum generated for an unknown gas by portable infrared spectrophotometer 10 to a stored library of spectra for approximately 400 reference compounds. In preferred embodiments, the spectra in this library are derived from infrared spectra obtained using high resolution spectrophotometers as well as from a variety of public domain sources. Based on comparison of the spectrum of the unknown gas with spectra in the library, portable computer 12 displays spectra for the unknown gas and for the three closest reference compounds. The displayed results allow a user to visually verify the accuracy of the closest matches. Referring also to Fig. 2, portable infrared spectrophotometer 10 includes a sample probe 16 through which gas samples are drawn into a gas cell 18 via a suction line 20 connected to a source of suction (not shown). Broad-band infrared energy from a heated infrared source 22 is focussed on a circular variable interference filter ("CVF") 24. CVF 24 is slowly rotated under control of an electronics module 26, using a servo motor 28. As CVF 24 rotates, filter segments 30 are rotated between infrared source 22 and a light pipe 32. Each filter segment 30 passes a continuous band of frequencies that varies from a starting frequency at one end of the filter segment 30 to an ending frequency at an opposite end of the filter segment 30. A particular location on a filter segment 30 transmits, for the most part, only a single frequency. Thus, as a filter segment 30 is rotated between infrared source 22 and light pipe 32, infrared energy in a series of single frequencies that vary from the starting frequency of the segment to the ending frequency of the segment is directed on light pipe 32. Infrared energy passes through light pipe 32 and enters gas cell 18 via an entry window 34, and is reflected several times between reflective mirrors 36-40, before emerging via an exit window 42 and striking an infrared detector 44. A pushrod assembly 46 varies the angle of mirror 40, and thereby varies the pathlength of gas cell 18 and hence the sensitivity of the portable infrared spectrophotometer 10. (The sensitivity increases with increasing pathlength.) Though various pathlengths can be used, the embodiment described herein uses a pathlength of 6.75 meters. Infrared detector 44 transmits a voltage signal to electronics module 26 via leads 48. This voltage signal corresponds to the level of infrared energy incident on infrared detector 44, and therefore corresponds to the absorption characteristics of the material in gas cell 18. Similarly, a servo potentiometer 46 transmits to electronics module 26 a voltage signal that corresponds to the angle of rotation of CVF 24 and can be used to determine the frequency of the infrared energy passing through gas cell 18 and incident on infrared detector 44. Electronics module 26 digitizes and stores corresponding values of the voltage signals as a set of approximately 750 data points (i.e., with each voltage signal from infrared detector 44, electronics module 26 stores the simultaneously occurring value of the voltage signal from servo potentiometer 46). Upon a request from portable computer 12, electronics module 26 transmits these data points to portable computer 12 over serial cable 14 via a serial port 50. Software for implementing the aspects of the invention performed by portable computer 12 has been written in the widely available "C" programming language and is designed to require minimal memory so that portable computer 12 can be selected from a wide variety of computers such as DOS-based personal computers having 8088, 80286, 80386, 80486, or Pentium processors. Portable computer 12 processes the data points from electronics module 26 and produces an infrared spectrum by converting the digitized voltages from servo potentiometer 46 to frequencies. Because the transmission characteristics of filter segments 30 vary from one CVF 24 to another, portable computer 12 uses conversion factors that identify characteristics of each filter segment 30 of a particular CVF 24. For example, for a CVF 24 having three filter segments 30, portable computer 12 is programmed with information about the range of voltage values from servo potentiometer 46 that correspond to each filter segment 30 of that CVF 24, and three sets of coefficients and conversion values. Thus, when the voltage value from servo potentiometer 46 is between voltage "A" and voltage "B", the voltage range for the first filter segment 30, portable computer 12 calculates the frequency by multiplying the voltage value by the coefficient for the first filter segment 30 and adding the constant for the first filter segment 30. Similarly, when the voltage is between voltages "C" and "D", the voltage range for the second filter segment 30, portable computer 12 calculates the frequency by multiplying the voltage value by the coefficient for the second filter segment 30 and adding the constant for the second filter segment 30. Finally, when the voltage is between voltages "E" and "F", the voltage range for the third filter segment 30, portable computer 12 calculates the frequency by multiplying the voltage value by the coefficient for the third filter segment 30 and adding the constant for the third filter segment 30. System 8 identifies an unknown gas according to a procedure 100 shown in Fig. 3. First, an organic compound blocking filter such as a carbon filter 52 is attached to the end of sample probe 16 (step 102). Next, a sample of background air is drawn into portable infrared spectrophotometer 10 through sample probe 16 (step 104). (Carbon filter 52 ensures that organic compounds or other contaminants do not accompany the background air sample.) Portable infrared spectrophotometer 10 then generates data points from a full rotation of CVF 24 and transmits the data points to portable computer 12 which, using the procedure discussed above, then generates an infrared spectrum for the background air sample (step 106). Next, carbon filter 52 is removed (step 108) and a sample of an unknown gas is drawn into portable infrared spectrophotometer 10 through sample probe 16 (step 110). Thereafter, portable infrared spectrophotometer 10 generates and transmits data points from which portable computer 12 generates an infrared spectrum for the unknown gas (step 112). After generating the infrared spectrum for the unknown gas, portable computer 12 analyzes the infrared spectrum for the unknown gas in light of the infrared spectrum of the background air sample to determine the identity of the unknown gas (step 114). Finally, portable computer 12 displays the results of the analysis (step 116). Fig. 4 illustrates the procedure 114 used by portable computer 12 to identify the unknown gas. First, portable computer 12 divides each point of the infrared spectrum of the unknown gas by the value of the corresponding point of the infrared spectrum of the background air sample (step 150). This reduces any effect on identification of the unknown gas that would result from materials present in the background air that enters gas cell 18 with the unknown gas. Next, portable computer 12 calculates the base-10 logarithm of the resulting quotients (step 152). Portable computer 12 then divides each logarithm in the resulting set by the maximum logarithm in the set to produce a normalized infrared absorption spectrum for the unknown gas. Because the spectra from the library of reference compounds have been compressed prior to insertion into the library, portable computer 12 compresses the infrared spectrum of the unknown gas (step 154). Spectral compression of the spectra of both the library and the unknown gas is achieved through a technique known as principal component analysis (alternatively known as eigenvector compression or Karhunen-Loeve transformation). Through principal component analysis, the spectra from the library of reference compounds are converted to a reduced size set of spectra (eigenvectors) that are combined to produce each of the original spectra according to a set of coefficients (factor scores) corresponding to each of the original spectra. Thus, the library of approximately 400 spectra, each having 750 data points, is compressed to 75 spectra (the eigenvectors) and approximately 400 sets of 75 coefficients (the factor scores). Moreover, 10:1 compression is achieved with minimal information loss -- in this case, ninety nine percent of the information content of the original 400 or so spectra is maintained. Spectral compression reduces the storage space required by the library of reference compounds by about an order of magnitude and, more importantly, substantially simplifies the process of comparing the spectrum of the unknown gas to those in the library (step 156). Rather than comparing a 750 data point spectrum to about 400 other 750 data point spectra, portable computer 12 only needs to compare the 75 factor scores corresponding to the spectra of the unknown gas to the 400 other sets of 75 factor scores. Thus, the number of comparisons is reduced by two orders of magnitude. Portable computer 12 compares the spectra by determining the Euclidean distance between the compressed spectrum of the unknown gas and the compressed reference spectra. Portable computer 12 does so by calculating, for each compressed reference spectrum, the square root of the sum of the squares of the distances between each data point of the spectrum of the unknown gas and the corresponding data point in the compressed reference spectrum. Thereafter, portable computer 12 ranks the distances in descending order (step 158), with the reference compound having the smallest distance from the unknown gas being the most likely match. In the event that none of the reference compounds matches the unknown gas within a predefined tolerance, portable computer 12 warns the user of this situation before proceeding further (step 159). Finally, portable computer 12 decompresses the spectra of the unknown gas and the three closest matches (step 160) and displays these spectra for visual review (step 116 of Fig. 3). Fig. 5 illustrates the comparison procedure used by portable computer 12. For illustrative purposes, Fig. 5 shows comparison of the actual spectra. However, it should be understood that the same technique is used to compare the factor scores of the compressed spectra. The distance between the simplified spectrum for an unknown gas 52 and the simplified spectra for reference compounds 54, 56 are calculated as shown. For each data point, the differences between the spectra of the unknown gas and the reference compounds are determined (in actual embodiments, the differences between the factor scores are determined). These differences are then squared and summed to produce D54, which equals 39 and is the square of the distance between the unknown gas and reference gas 54, and D56, which equals 7 and is the square of the distance between the unknown gas and reference gas 56. In this case, as would be expected by a visual examination of the spectra, D54 is much larger than D56 - indicating that reference gas 56 is a much closer match to the unknown gas than reference gas 54. As shown in Fig. 6, the infrared spectrum 60 of Freon-113, the unknown gas in this example, is displayed in a first window 68 as a graph of normalized absorbance versus wavelength. Similarly, the infrared spectra of CFC-113 (62), Freon-112 (64), and 1,1,1-Trichloroethane (66), the three closest reference compounds, are displayed in a second window 70 as graphs of relative absorbance versus wavelength, with the graph of each spectra being offset to a different degree to ease distinction between the three compounds. Thus, the graph for CFC-113 (62) shows the normalized absorbance values for CFC-113 with an offset of 0.75 added to each the absorbance value at each frequency. The graphs for Freon-112 (64) and 1,1,1-Trichloroethane (66) are offset, respectively, by 0.5 and 0.25. Other embodiments are feasible. For example, dedicated circuitry could be substituted for portable computer 12. A portion of the disclosure of this patent specification contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent specification disclosure, as it appears in the European Patent Office or as it will be published by the European Patent Office, but otherwise reserves all rights in the nature of copyright whatsoever.

Claims: A method of identifying an unknown gas, comprising the steps of: compressing infrared spectra from a set of infrared spectra of reference compounds to produce a library of compressed infrared spectra of reference compounds; generating an infrared spectrum of said unknown gas using an infrared spectrophotometer that includes a circular variable interference filter; compressing said infrared spectrum of said unknown gas; and comparing said compressed infrared spectrum of said unknown gas to said compressed infrared spectra of reference compounds. A method according to Claim 1, wherein said set of infrared spectra of reference compounds are compressed from infrared spectra obtained using an infrared spectrophotometer that does not include a circular variable interference filter and has higher resolution than said infrared spectrophotometer used in generating said infrared spectrum of said unknown gas. A method according to Claims 1 or 2, wherein said generating step includes the step of generating an infrared spectrum of a background air sample and modifying said infrared spectrum of said unknown gas based on said infrared spectrum of said background air sample. A method according to any preceding claim, wherein said generating step includes the step of normalizing said infrared spectrum of said unknown gas. A method according to any preceding claim, wherein said compressing steps use a compression ratio of about 10:1. A method of according to Claim 1, further comprising decompressing a plurality of said compressed infrared spectra from said library, said plurality including the compressed infrared spectra that most closely match the compressed infrared spectrum of said unknown gas. A method according to Claim 6, wherein said plurality of infrared spectra decompressed comprises the three most closely matching infrared spectra. A method according to Claims 6 or 7, further including the step of displaying said plurality of infrared spectra decompressed. A method according to Claim 8, further including the step of displaying said infrared spectrum of said unknown gas. A method according to Claim 1, wherein said variable interference filter is comprised of a plurality of segments, each of which segments transmits infrared energy across a frequency band from a starting frequency at a first end of said segment to an ending frequency at a second end of said segment; and wherein the step of generating the infrared spectrum of said unknown gas comprises using a set of data produced using the variable interference filter and information designating said starting and ending frequencies of each of said segments of said variable interference filter. A method according to Claim 10, wherein said information designating said starting and ending frequencies is unique to a particular infrared spectrophotometer. An apparatus for identifying an unknown gas, comprising an infrared spectrophotometer including a circular variable interference filter for producing an infrared spectrum of said unknown gas; characterized in further comprising: circuitry for compressing said infrared spectrum of said unknown gas; a library of compressed infrared spectra of reference compounds compressed from infrared spectra obtained using an infrared spectrophotometer that does not include a circular variable interference filter and has higher resolution than said infrared spectrophotometer used in generating said infrared spectrum of said unknown gas; and circuitry for comparing said compressed infrared spectrum of said unknown gas to said compressed infrared spectra of reference compounds. Apparatus according to Claim 12, characterized in further comprising circuitry for decompressing a plurality of said compressed infrared spectra from said library, said plurality including the compressed infrared spectra that most closely match the compressed infrared spectrum of said unknown gas. Apparatus according to Claim 13, further characterized in including circuitry for displaying said plurality of infrared spectra decompressed. Apparatus according to Claim 14, further characterized in including circuitry for displaying said infrared spectrum of said unknown gas and said plurality of decompressed infrared spectra. Apparatus according to Claim 12, further characterized in that the variable interference filter is comprised of a plurality of segments, each of which transmits infrared energy across a frequency band from a starting frequency at a first end of said segment to an ending frequency at a second end of said segment; and in that said circuitry for comparing said infrared spectrum of said unknown gas to said infrared spectra from said library, uses information about the starting and ending frequencies of each of said segments in making said comparison. Apparatus according to any of Claims 12 to 16, further characterised in that said apparatus is battery operated and portable.

Inventors: DAY STEPHEN, SWARNA KAILASH, DAY, STEPHEN, SWARNA, KAILASH
Applicants: FOXBORO CO, THE FOXBORO COMPANY
Application year: 1994
Main classification: G01N21
IPC codes: G01N21, G01J3