Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DETERMINING A SIZE OF CELL OF A TRANSMISSION SPECTROSCOPY DEVICE
Document Type and Number:
WIPO Patent Application WO/2018/071664
Kind Code:
A1
Abstract:
A transmission spectroscopy device can direct light into a sample, and determine properties of the sample based on how much light emerges from the sample. The device can use a cell to contain the sample, so that the size of the cell defines the optical path length traversed by light in the sample. To ensure accuracy in the measurements, it is beneficial to calibrate the device by measuring the size of the cell periodically or as needed. To measure the size of the cell, the device can perform a transmission spectroscopy measurement of a known substance, such as pure water, to produce a measured absorbance spectrum of the known substance. The device can subtract a known absorbance spectrum of the known substance from the measured absorbance spectrum to form an oscillatory fringe pattern. The device can determine the size of the cell from a period of the fringe pattern.

Inventors:
PARSONS CRAIG (US)
LYDER HENRIK (US)
Application Number:
PCT/US2017/056333
Publication Date:
April 19, 2018
Filing Date:
October 12, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BENTLEY INSTR INC (US)
International Classes:
G01N21/3577; G01B11/02; G01J3/02; G01J3/42; G01N21/27; G01N33/04
Foreign References:
EP1703272A12006-09-20
US20160123870A12016-05-05
EP2263541A22010-12-22
Other References:
ANONYMOUS: "Infra-Red Spectroscopy of Solids and Solutions", 12 September 2014 (2014-09-12), pages 1 - 7, XP055440680, Retrieved from the Internet [retrieved on 20180115]
"Infrared spectroscopy: fundamentals and applications", 2 January 2004, WILEY, article BARBARA STUART: "2.4.4 Pathlength Calibration", pages: 32 - 33, XP055441577
H M HEISE: "Scaled absorbance difference spectroscopy for the analysis of solutions -What residuals can be expected?*", FRESENIUS JOURNAL OF ANALYTICAL CHEMISTRY, vol. 350, 2 January 1994 (1994-01-02), pages 505 - 513, XP055440543, DOI: 10.1007/BF00321797
Attorney, Agent or Firm:
BLACK, David W. et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A transmission spectroscopy device, comprising:

a cell having opposing first and second transparent walls, the cell being fillable with a sample to be measured, the cell being drainable to remove the sample and replace the sample with air; and

a controller configured to fill the cell with the sample, produce a measured absorbance spectrum of the sample, and drain the sample from the cell,

the controller further configured to calibrate the transmission

spectroscopy device by:

producing a measured absorbance spectrum of a known substance sample of a known substance, the measured absorbance spectrum of the known substance sample formed from a ratio of a first emittance scan of the cell to a second emittance scan of the cell, the first emittance scan taken when the cell is filled with the known substance sample, the second emittance scan taken when the cell is empty; subtracting a known absorbance spectrum of the known substance from the measured absorbance spectrum of the known substance sample to form a fringe pattern, the fringe pattern being oscillatory in amplitude with respect to inverse wavelength; and

determining a size of the cell from a period of the fringe pattern.

2. The transmission spectroscopy device of claim 1, wherein the controller is further configured to determine the size of the cell from the period of the fringe pattern by:

calculating the separation between the first and second transparent walls to equal 1 / (2 χ p), where quantity p is a period of the fringe pattern.

3. The transmission spectroscopy device of claim 2, wherein the controller is further configured to determine the size of the cell from the period of the fringe pattern by: determining inverse wavelength values at which the fringe pattern peaks; and

calculating the period to equal a separation between adjacent determined inverse wavelength values.

4. The transmission spectroscopy device of claim 3, wherein the controller is further configured to calculate the period by:

fitting the determined inverse wavelength values to a linear fit;

determining a slope of the linear fit; and

setting the period equal to the determined slope.

5. The transmission spectroscopy device of any one of claims 1-4, wherein the controller is further configured to produce the measured absorbance spectrum of the known substance sample of the known substance by:

filling the cell with the known substance;

illuminating the known substance through the first transparent wall of the cell;

measuring a first light from the known substance through the second transparent wall of the cell;

producing, from the first light, the first emittance scan;

draining the known substance from the cell;

filling the cell with air;

illuminating the air-filled cell through the first transparent wall of the cell;

measuring a second light from the air-filled cell through the second transparent wall of the cell; and

producing, from the second light, the second emittance scan.

6. The transmission spectroscopy device of claim 5, wherein the size of the cell corresponds to a separation between the first and second transparent walls of the cell.

7. The transmission spectroscopy device of any one of claims 5-6, further comprising:

a light source configured to provide illumination to the known substance and the air-filled cell through the first transparent wall with light having a broad spectrum, the controller being further configured to operably control the light source.

8. The transmission spectroscopy device of claim 7, wherein:

the known substance is water; and

the broad spectrum includes at least one peak or valley in the

absorbance spectrum of water.

9. The transmission spectroscopy device of any one of claims 5-8, wherein the controller is further configured to drain the known substance from the cell by, repeatedly:

pumping air through the cell;

illuminating the cell through the first transparent wall of the cell;

measuring a third light through the second transparent wall of the cell; and

comparing the third light to a previous measurement of the third light, until a difference between successive measurements of the third light is below a threshold.

10. The transmission spectroscopy device of any one of claims 1-9, wherein the controller is further configured to subtract the known absorbance spectrum of the known substance from the measured absorbance spectrum by:

scaling an amplitude of one of the known absorbance spectrum or the measured absorbance spectrum to match an amplitude of the other of the known absorbance spectrum or the measured absorbance spectrum.

11. The transmission spectroscopy device of any one of claims 1-10, further comprising:

plumbing configured to deliver the sample to the cell, drain the sample from the cell, deliver the known substance sample to the cell, and drain the known substance sample from the cell, the controller being further configured to operably control the plumbing.

12. The transmission spectroscopy device of any one of claims 1-11, further comprising:

a detector configured to detect light transmitted through the sample and through the known substance sample through the second transparent wall, the controller further configured to operably receive at least one signal from the detector.

13. A method for determining a size of a cell of a transmission spectroscopy device, the method comprising:

performing a transmission spectroscopy measurement of a known substance in a cell to produce a measured absorbance spectrum of the known substance, the measured absorbance spectrum of the known substance formed from a ratio of a first emittance scan of the cell to a second emittance scan of the cell, wherein the first emittance scan is taken when the cell is filled with the known substance, and wherein the second emittance scan is taken when the cell is empty;

subtracting a known absorbance spectrum of the known substance from the measured absorbance spectrum of the known substance to form a fringe pattern, the fringe pattern being oscillatory in amplitude with respect to inverse wavelength; and

determining a size of the cell from a period of the fringe pattern.

14. The method of claim 13, wherein determining the size of the cell from the period of the fringe pattern comprises calculating the size of the cell to equal 1 / (2 x p), where quantity p is the period of the fringe pattern.

15. The method of claim 14, wherein determining the size of the cell from the period of the fringe pattern further comprises:

determining inverse wavelength values at which the fringe pattern peaks; and calculating the period to equal a separation between adjacent determined inverse wavelength values.

16. The method of claim 15, wherein calculating the period comprises: fitting the determined inverse wavelength values to a linear fit;

determining a slope of the linear fit; and

setting the period equal to the determined slope.

17. The method of any one of claims 13-16, wherein performing the transmission spectroscopy measurement of the known substance in the cell comprises:

filling the cell with the known substance;

illuminating the known substance through a first transparent wall of the cell;

measuring a first light from the known substance through a second transparent wall of the cell, opposite the first transparent wall;

producing, from the first light, the first emittance scan;

draining the known substance from the cell;

filling the cell with air;

illuminating the air-filled cell through the first transparent wall of the cell;

measuring a second light from the air-filled cell through the second transparent wall of the cell; and

producing, from the second light, the second emittance scan.

18. The method of claim 17, wherein the size of the cell corresponds to a separation between the first and second transparent walls of the cell.

19. The method of any one of claims 17-18, wherein:

illuminating the known substance comprises illuminating the known substance with light having a broad spectrum; and

illuminating the air-filled cell comprises illuminating the air-filled cell with light having the broad spectrum.

20. The method of claim 19, wherein:

the known substance is water; and

the broad spectrum includes at least one peak or valley in the known absorbance spectrum of water.

21. The method of any one of claims 17-20, wherein draining the known substance from the cell comprises, repeatedly:

pumping air through the cell;

illuminating the cell through the first transparent wall of the cell;

measuring a third light through the second transparent wall of the cell; and

comparing the third light to a previous measurement of the third light, until a difference between successive measurements of the third light is below a threshold.

22. The method of any one of claims 13-21, wherein subtracting the known absorbance spectrum of the known substance from the measured absorbance spectrum comprises:

scaling an amplitude of one of the known absorbance spectrum or the measured absorbance spectrum to match an amplitude of the other of the known absorbance spectrum or the measured absorbance spectrum.

Description:
DETERMINING A SIZE OF CELL OF A TRANSMISSION

SPECTROSCOPY DEVICE

PRIORITY APPLICATION

[0001] This application claims priority to U. S. Patent Application Serial

Number 15/292,593, filed October 13, 2016, the disclosure of which is incorporated herein in its entirety by reference.

FIELD OF THE DISCLOSURE

[0002] The present disclosure relates to calibration of a transmission spectroscopy device. BACKGROUND OF THE DISCLOSURE

[0003] Transmission spectroscopy is widely used for quantitatively measuring components of gaseous, liquid and solid substances. A transmission spectroscopy device can direct light into a sample, and determine properties of the sample based on how much light emerges from the sample, as a function of wavelength.

[0004] In some examples, a transmission spectroscopy device can base its calculations on the Beer-Lambert law, which relates the attenuation of light to properties of the material through which the light propagates. One way to express the Beer-Lambert law mathematically is A = e x b x c. Quantity A is the absorbance of the sample, which also equals log (1 / transmittance of the sample). Quantity e is the molar absorptivity of a compound of interest in the sample. Quantity b is the optical path length traversed by light in the sample. Quantity c is the concentration of the compound of interest in the sample. In order to produce an accurate value for the compound concentration, c, one should have an accurate value for the optical path length traversed by light in the sample, b. The Beer-Lambert law is but one example of how a transmission spectroscopy device can perform its calculations. Other calculation techniques can also be used. For each of these calculation techniques, it is beneficial to know or measure the optical path length traversed by light in the sample as accurately as possible.

SUMMARY

[0005] In a first example, a method for determining a size of a cell of a transmission spectroscopy device can include performing a transmission spectroscopy measurement of a known substance in a cell to produce a measured absorbance spectrum of the known substance. The measured absorbance spectrum of the known substance can be formed from a ratio of a first emittance scan of the cell to a second emittance scan of the cell. The first emittance scan can be taken when the cell is filled with the known substance. The second emittance scan can be taken when the cell is empty. The method can further include subtracting a known absorbance spectrum of the known substance from the measured absorbance spectrum of the known substance to form a fringe pattern. The fringe pattern can be oscillatory in amplitude with respect to inverse wavelength. The method can further include determining a size of the cell from a period of the fringe pattern.

[0006] In a second example, a transmission spectroscopy device can include a cell having opposing first and second transparent walls. The cell can be fillable with a sample to be measured. The cell can be drainable to remove the sample and replace the sample with air. Plumbing can deliver the sample to the cell and drain the sample from the cell. A light source can illuminate the sample through the first transparent wall. A detector can detect light transmitted through the sample through the second transparent wall. A controller can operably control the light source, operably receive at least one signal from the detector, and operably control the plumbing. The controller can fill the cell with the sample, produce a measured absorbance spectrum of the sample, and drain the sample from the cell. The controller can further calibrate the transmission spectroscopy device by: producing a measured absorbance spectrum of a pure water sample, the measured absorbance spectrum of the pure water sample formed from a ratio of a first emittance scan of the cell to a second emittance scan of the cell, the first emittance scan taken when the cell is filled with the pure water sample, the second emittance scan taken when the cell is empty; subtracting a known absorbance spectrum of water from the measured absorbance spectrum of the pure water sample to form a fringe pattern, the fringe pattern being oscillatory in amplitude with respect to inverse wavelength; and calculating the separation between the first and second transparent walls to equal 1 / (2 x p), where quantity p is a period of the fringe pattern.

[0007] In a third example, a method for determining a size of cell of a transmission spectroscopy device can include performing a transmission spectroscopy measurement of a pure water sample in a cell to produce a measured absorbance spectrum of the pure water sample. The measured absorbance spectrum of the pure water sample can be formed from a ratio of a first emittance scan of the cell to a second emittance scan of the cell. The first emittance scan can be taken when the cell is filled with the pure water sample. The second emittance scan can be taken when the cell is empty. The method can further include subtracting a known absorbance spectrum of water from the measured absorbance spectrum of the pure water sample to form a fringe pattern. The fringe pattern can be oscillatory in amplitude with respect to inverse wavelength. The method can further include calculating a separation between opposing first and second transparent walls of the cell to equal 1 / (2 χ p), where quantity p is a period of the fringe pattern.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008] FIG. 1 shows a schematic drawing of an example of a

transmission spectroscopy device, in accordance with some embodiments.

[0009] FIG. 2 shows a flowchart of an example of a method for determining a size of a cell of a transmission spectroscopy device, in accordance with some embodiments.

[0010] FIG. 3 shows an example of a plot of measured absorbance spectrum of water, a known absorbance spectrum of water, and a fringe pattern, in accordance with some embodiments.

[0011] FIG. 4 shows an example of a plot of the inverse wavelength values at which the fringe pattern of FIG. 3 peaks, plotted along a linear scale by dimensionless peak number.

[0012] FIG. 5 shows a relative fat error, in percent, for measurements in which the cell width was periodically measured, and corresponding

measurements in which the cell width was not periodically measured or updated. [0013] FIG. 6 shows a relative protein error, in percent, for

measurements in which the cell width was periodically measured, and corresponding measurements in which the cell width was not periodically measured or updated.

[0014] FIG. 7 shows a relative solids error, in percent, for measurements in which the cell width was periodically measured, and corresponding measurements in which the cell width was not periodically measured or updated.

[0015] Corresponding reference characters indicate corresponding parts throughout the several views. Elements in the drawings are not necessarily drawn to scale. The configurations shown in the drawings are merely examples, and should not be construed as necessarily limiting the scope of the claims.

DETAILED DESCRIPTION

[0016] In transmission spectroscopy, it is beneficial to know or measure the optical path length traversed by light in the sample as accurately as possible. For gaseous or liquid samples, a transmission spectroscopy device can use a cell or cuvette to contain the sample. The cell can include two opposing, transparent walls. During a measurement, light enters the cell through one of the transparent walls, passes through the sample, and exits the cell through the other of the transparent walls. The size of the cell defines the optical path length traversed by light in the sample. In some examples, the size of the cell can refer to a cell width, a cell length, or another suitable cell dimension. To ensure accuracy in the measurements, it is beneficial to calibrate the transmission spectroscopy device by measuring the size of the cell periodically or as needed.

[0017] To measure the size of the cell, the device can perform a transmission spectroscopy measurement of a known substance, such as pure water, to produce a measured absorbance spectrum of the known substance. The device can subtract a known absorbance spectrum of the known substance from the measured absorbance spectrum to form an oscillatory fringe pattern. The fringes can be Fabry-Perot fringes, caused by interference from reflections from two parallel surfaces. The fringes can be present in the measured absorption spectrum, but masked by larger absorbance effects. Subtracting the known absorbance spectrum from the measured absorbance spectrum can remove or reduce the absorbance effects, and can emphasize the fringe pattern in the measured absorption spectrum. The device can determine the size of the cell from a period of the fringe pattern. This is but a summary of a technique to measure the size of the cell; the technique is discussed below in more detail, following a description of a transmission spectroscopy device.

[0018] FIG. 1 shows a schematic drawing of an example of a transmission spectroscopy device 100, in accordance with some embodiments. The transmission spectroscopy device 100 is but one example of a device that can use the technique described herein to measure the size of the cell; other devices can also be used.

[0019] A cell 102 can have a first transparent wall 104 and a second transparent wall 106 opposing the first transparent wall 104. The cell 102 can be fillable with a sample to be measured. The sample is not part of the part of the transmission spectroscopy device 100. The cell can be drainable to remove the sample and replace the sample with air. In some examples, the first transparent wall 104 and the second transparent wall 106 can be formed from glass, calcium fluoride, or other suitable materials selected to be insoluble with respect to the sample. In some examples, the first transparent wall 104 and the second transparent wall 106 can have a nominal separation between 10 μπι and 50 μπι.

[0020] In some examples, the separation between the first transparent wall 104 and the second transparent wall 106 can vary slightly over time. For example, the separation can increase slightly if the first transparent wall 104 and the second transparent wall 106 are eroded by continual use. Likewise, the separation can decrease slightly if samples cause a buildup of material on the first transparent wall 104 and the second transparent wall 106. The technique described herein to measure the size of the cell 102 can track the cell size variation over time, and can allow the transmission spectroscopy device 100 to properly account for cell size and perform accurate measurements. The cell size measurement technique can be used as a calibration routine, which can be executed periodically, such as once a day, or once for every thousand measurements.

[0021] Plumbing 108 can deliver the sample to the cell 102 and can drain the sample from the cell 102. The plumbing 108 can include one or more pipes, hoses, valves, pumps, and other elements can direct fluids or gases as needed. The plumbing 108 can include one or more connections to the cell 102. In some examples, the plumbing 108 can direct the sample into or out of the transmission spectroscopy device 100, and can connect to one or more elements outside the transmission spectroscopy device 100. In some examples, the plumbing 108 can deliver air to the cell 102. In some examples, the plumbing 108 can pump air to the cell 102, to drain the cell of a sample.

[0022] A light source 110 can illuminate the sample through the first transparent wall 104. In some examples, the light source 110 can be a broadband light source, such as a blackbody source, an incandescent source, one or more light emitting diodes, or other suitable light sources. In some examples, the light source 110 produces a collimated output beam. In some examples, the light source 110 includes one or more collimating lenses, which can collimate light from a diverging source, such as a light emitting diode, to produce a collimated output beam. In some examples, the light source 110 can emit light in the mid-infrared portion of the spectrum. In some examples, the light source 110 can emit light with wavelengths between 1.25 μπι and 12.5 μπι, or, equivalently, inverse wavelengths between 800 cm "1 (corresponding to 12.5 μπι) and 8000 cm "1 (corresponding to 1.25 μπι). Other wavelength ranges can also be used, including the visible portion of the spectrum, the near-infrared portion of the spectrum, or the far infrared portion of the spectrum.

[0023] A detector 112 can detect light transmitted through the sample through the second transparent wall 106. In some examples, the detector 112 is sensitive in the wavelength range emitted by the light source 110.

[0024] A controller 114 can operably control the light source 110, operably receive at least one signal from the detector 112, and operably control the plumbing 108. During execution of the cell size measurement technique, the controller 114 can fill the cell 102 with the sample, produce a measured absorbance spectrum of the sample, and drain the sample from the cell 102. In some examples, the controller 114 can include a processor and memory, including instructions that, when executed on the at least processor, cause the processor to execute the technique to measure the size of the cell.

[0025] The transmission spectroscopy device 100 can further include a spectrometer 116 that can receive light emitted from the light source 110, and can analyze the received light as a function of wavelength. In some examples, the spectrometer 116 can include a diffraction grating, a prism, or another optical element capable of spatially or angularly dispersing light as a function of wavelength. In some examples, in a configuration referred to as dispersive spectroscopy, the spectrometer 116 has a selectable output wavelength (or narrow band of wavelengths), which can be controlled by the controller 114, and can vary over time. The controller 114 can correlate the wavelength output of the spectrometer, over time, with the signal received at the detector 112, to measure a sample in the cell 102 as a function of wavelength. In other examples, the spectrometer can analyze the wavelength dependence of the transmitted light signal by generating an interferogram produced by the varying the optical path length of two interfering light beams. The Fourier transform of this interferogram results in a spectrum of intensity vs. wavelength (or energy, often in units of 1/wavelength). This technique is referred to as Fourier

Transform Spectroscopy, and has several advantages over dispersive

spectroscopy in terms of optical throughput and wavelength multiplexing.

Positioning the spectrometer 116 between the light source 110 and the cell 102 is but one configuration. Other configurations can also be used, such as positioning the spectrometer 116 between the cell 102 and the detector 112, using a multi-element detector to simultaneously capture light at different wavelengths for the dispersive technique, and others. The spectrometer 116 can receive and output collimated light.

[0026] The transmission spectroscopy device 100 can further include a lens 118 that can focus light from the spectrometer 116 onto the cell 102, and a lens 120 that can focus light from the cell onto the detector 112. The lens 118 can allow the transmission spectroscopy device 100 to use a relatively small cell 102, which can advantageously take measurements of samples having a relatively small volume. The lens 120 can allow the transmission spectroscopy device 100 to use a relatively small detector 112, which can advantageously reduce noise associated with the detector 112 and can increase the speed of the detector 112.

[0027] The transmission spectroscopy device 100 can further include a housing 122, which can ensure that the cell 102 operates in an environment that is stable over time. For example, the housing 122 can control the temperature and pressure of the sample in the cell 102. The housing 122 can maintain a constant composition of the gases, such as water vapor and carbon dioxide, around the cell 102 and the optical elements. The housing 122 can be sealed from the ambient environment. The housing 122 can be temperature-regulated. The housing 122 can include a desiccant to reduce water vapor to a relatively low and stable level. Stabilizing the environmental variables of temperature, pressure and the composition of the gases in the optical path can increase a precision of the measurements. Stabilizing these parameters can stabilize the optical alignment of the spectrometer, which can increase the precision of the measurements.

[0028] FIG. 2 shows a flowchart of an example of a method 200 for determining a size of a cell of a transmission spectroscopy device 100, in accordance with some embodiments. The method 200 can be executed on a transmission spectroscopy device, such as device 100 (described above with reference to FIG. 1), or on other suitable transmission spectroscopy devices. The method 200 is but one example of determining the size of the cell; other suitable methods can also be used.

[0029] At operation 202, the device 100 can perform a transmission spectroscopy measurement of a known substance in a cell 102 to produce a measured absorbance spectrum of the known substance. The measured absorbance spectrum of the known substance can be formed from a ratio of a first emittance scan of the cell 102 to a second emittance scan of the cell 102. The first emittance scan can be taken when the cell 102 is filled with the known substance. The second emittance scan can be taken when the cell 102 is empty (e.g., filled with air).

[0030] At operation 204, the device 100 can subtract a known absorbance spectrum of the known substance from the measured absorbance spectrum of the known substance to form a fringe pattern. In some examples, the known absorbance spectrum can be stored locally and can be access via a lookup table. In other examples, the known absorbance spectrum can be accessed remotely through a wired or wireless network. In some examples, the known absorbance spectrum can be obtained from an earlier transmission spectroscopy measurement of a particular sample (e.g., not necessarily a sample having a tabulated absorbance spectrum).

[0031] The fringe pattern can be caused by interference between opposing first and second transparent walls 104, 106 of the cell 102. The fringe pattern peaks when there is constructive interference between the first and second transparent walls 104, 106 of the cell 102, which occurs when the round- trip optical path between the first and second transparent walls 104, 106 equals an integral number of wavelengths. In general, the fringe pattern is smaller in amplitude than the features in the measured absorbance spectrum, so that subtracting the known absorbance spectrum of the known substance from the measured absorbance spectrum can enhance the fringe pattern. The fringe pattern can be oscillatory in amplitude with respect to inverse wavelength. In some examples, the device 100 can scale an amplitude of one of the known absorbance spectrum or the measured absorbance spectrum to match an amplitude of the other of the known absorbance spectrum or the measured absorbance spectrum.

[0032] At operation 206, the device 100 can determine a size of the cell

102 from a period of the fringe pattern. In some examples, the device 100 can calculate a separation between opposing first and second transparent walls 104, 106 of the cell 102 to equal 1 / (2 χ p), where quantity p is a period of the fringe pattern. In some examples, the device 100 can determine inverse wavelength values at which the fringe pattern peaks, and calculate the period to equal a separation between adjacent determined inverse wavelength values. In some examples, the device 100 can fit the determined inverse wavelength values to a linear fit, determine a slope of the linear fit, and set the period equal to the determined slope.

[0033] In some examples, performing the transmission spectroscopy measurement of the known substance in the cell 102 can include the following. The device 100 can fill the cell 102 with the known substance. The device 100 can illuminate the known substance through a first transparent wall 104 of the cell 102. In some example, the illuminating light has a broad spectrum. The device 100 can measure a first light from the known substance through a second transparent wall 106 of the cell 102, opposite the first transparent wall 104. The device 100 can produce, from the first light, the first emittance scan. The device 100 can drain the known substance from the cell 102. The device 100 can fill the cell 102 with air. The device 100 can illuminate the air-filled cell 102 through the first transparent wall 104 of the cell 102. In some example, the illuminating light for the air-filled cell can have the same broad spectrum as the illuminating light used for the known substance. The device 100 can measure a second light from the air-filled cell 102 through the second transparent wall 106 of the cell 102. The device 100 can produce, from the second light, the second emittance scan. In some configurations, the device 100 can measure the sample before measuring the air-filled cell; in other configurations, the device 100 can measure the sample after measuring the air-filled cell.

[0034] In some examples, draining the known substance from the cell

102 can include, repeatedly: pumping air through the cell 102; illuminating the cell 102 through the first transparent wall 104 of the cell 102; measuring a third light through the second transparent wall 106 of the cell 102; and comparing the third light to a previous measurement of the third light, until a difference between successive measurements of the third light is below a threshold. As the cell 102 dries out, the amount of light passing through the cell reaches a constant level.

[0035] In some examples, the known substance can be pure water, although other known substances can also be used. For these examples, the broad spectrum of the illuminating light can include at least one peak or valley in the known absorbance spectrum of water. For example, in the near-infrared and mid-infrared wavelength ranges, liquid water has absorption bands around 1640 cm "1 (corresponding to a wavelength of 6100 nm), 2130 cm "1 (4690 nm), 3450 cm "1 (2900 nm), and 5128 cm -1 (1950 nm). It is convenient to use values of inverse wavelength, rather than wavelength, because the fringes in the fringe pattern are equally spaced with respect to inverse wavelength.

[0036] FIG. 3 shows an example of a plot of a measured absorbance spectrum 302 of water, a known absorbance spectrum 304 of water, and a fringe pattern 306, in accordance with some embodiments. The measured absorbance spectrum 302 and the known absorbance spectrum 304 overlap significantly; the element numbers 302 and 304 follow the respective plots in FIG. 3. In practice, the fringe pattern 306 is present in the measured absorbance spectrum 302, but with a significantly smaller amplitude than the absorption features. Subtracting the known absorbance spectrum 304 from the measured absorbance spectrum 302 of water (optionally with scaling of one or both absorbance spectra) can enhance the fringe pattern 306. In this example, the fringe pattern extends from about 3900 cm "1 to about 6900 cm "1 , with a discontinuity in the fringe pattern around water's absorption band at 5128 cm "1 .

[0037] The period of the fringe pattern can be determined in many suitable manners, including Fourier transforming the fringe pattern and locating a peak in the Fourier transform, finding peaks in the fringe and determining separation between the peaks, finding valleys in the fringe pattern and determining separation between the valleys, finding zero-crossings in the fringe patterns and determining separation between the zero-crossings, and others.

[0038] One suitable way to calculate the period includes: determining inverse wavelength values at which the fringe pattern peaks; fitting the determined inverse wavelength values to a linear fit; determining a slope of the linear fit; and setting the period equal to the determined slope.

[0039] FIG. 4 shows an example of a plot of the inverse wavelength values at which the fringe pattern of FIG. 3 peaks, plotted along a linear scale by dimensionless peak number. The inverse wavelength values are fit to a linear fit, according to the equation: y [in cm "1 ] = 148.43x + 2142.8. The slope of the linear fit is 148.43 cm "1 , which equals the period of the fringe pattern. In this numerical example, the separation between opposing first and second transparent walls 104, 106 of the cell 102 equals 1 / (2 x 148.43 cm "1 ), or 33.69 μιη. This is but one example; other suitable numerical examples can also be used.

[0040] It is beneficial to consider a set of experimental data that shows the effectiveness of periodically measuring the size of the cell, as with the method 200. Data was taken for a milk inspection system over the course of seven months. In this example, the milk inspection system inspected raw milk samples using the mid-infrared portion of the spectrum (e.g., with wavelengths between 3 μπι and 10 μπι). The system used chemometric calibration methods to relate the measured milk spectrum to a component concentration, for components, such as fat, protein, and solids. The system operated in a relatively demanding environment, running more than 4000 samples per day, with relatively high accuracy, and relatively high potential for cell wear from the high sample volume. The system measured the samples with an accuracy relative standard deviation of less than 1% and a repeatability relative standard deviation of less than 0.25%. In this example, the inspection system tested a set of thirteen reference milk standards over a course of seven months. FIG. 5 shows a relative fat error, in percent, for measurements in which the cell width was periodically measured (502), and corresponding measurements in which the cell width was not periodically measured or updated (504). FIG. 6 shows a relative protein error, in percent, for measurements in which the cell width was periodically measured (602), and corresponding measurements in which the cell width was not periodically measured or updated (604). FIG. 7 shows a relative solids error, in percent, for measurements in which the cell width was periodically measured (702), and corresponding measurements in which the cell width was not periodically measured or updated (704). In each of FIGS. 5-7, the relative error grew with time when the cell width was not periodically measured or updated, but remained relatively small and relatively constant over time when the cell width was periodically measured and updated.

[0041] The method 200 for determining the size of the cell 102 of the transmission spectroscopy device 100 has significant advantages over other approaches for determining the size.

[0042] For example, a first approach of determining a cell size takes a measurement of a sample of a precisely known composition, measures its absorption at particular wavelengths, and determines the optical path length traversed in the sample from the Beer-Lambert law and from a tabulated molar absorptivity of the compound. This first approach is subject to errors caused by producing, maintaining and delivering samples of precisely known composition. The method 200 discussed herein is not subject to producing, maintaining and delivering samples of precisely known composition, as is required in the first approach.

[0043] As another example, a second approach of determining a cell size removes the cell from the device, measures the cell size externally using an interferometer or other suitable measurement device, then returns the cell to the device for future use. This second approach is time-consuming and disruptive, especially for devices that operate in a tightly controlled environment with regulated temperature, pressure, and humidity. The time lost for cell size measurements can be especially problematic for high-volume applications. The method 200 discussed herein can be performed in situ, with a relatively short times required for the measurement. [0044] While the embodiments above have been described as having example designs, inventive aspects of these embodiments can be further modified within the scope of this disclosure. This application is therefore intended to cover any variations, uses, or adaptations of the embodiments using their general principles. Further, this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this subject matter pertains and which fall within the limits of the appended claims.