The technology discussed below relates generally to artificial intelligence modelers for building chemometrics models for spectral devices, and more particular to mechanisms for building generalized chemometrics models targeting ultra-wide-scale deployment of spectral devices.
In spectral sensing, the interaction between electromagnetic radiation, such as light, and matter is studied. There are different types of spectroscopy used, such as infrared/vibrational spectroscopy, atomic absorption spectroscopy, mass spectroscopy, electrochemical impedance spectroscopy, x-ray spectroscopy, in addition to others. The development of analytical chemistry devices based on infrared spectral sensing devices have progressed quickly in the last decade. The development went through a paradigm shift moving from laboratory-based bench top devices to handheld devices that can be used in the field or in-line in the production facilities in a ubiquitous manner. The mid infrared (MIR) wavelength range (2.5 μm to 25 μm) contains spectral lines corresponding to fundamental vibrations lines. The IR range below 2.5 μm is the near infrared (NIR) range that includes the overtones and the combinational lines. With the development in multivariate statistical methods, called chemometrics, qualitative and quantitative material analysis is possible using the infrared spectra.
The following presents a summary of one or more aspects of the present disclosure, in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated features of the disclosure, and is intended neither to identify key or critical elements of all aspects of the disclosure nor to delineate the scope of any or all aspects of the disclosure. Its sole purpose is to present some concepts of one or more aspects of the disclosure in a form as a prelude to the more detailed description that is presented later.
In an example, a spectral modeling system is disclosed. The spectral modeling system includes a spectral converter configured to receive spectral data of a plurality of samples from a subset of a plurality of spectral devices and spectral device characteristics representing spectral variations in the plurality of spectral devices. The spectral converter is further configured to generate a plurality of artificial spectra representing remaining spectral devices of the plurality of spectral devices based on the spectral data and the spectral device characteristics. The spectral modeling system further includes a chemometrics engine configured to produce a chemometrics model for one or more parameters associated with the plurality of samples based on the spectral data and the plurality of artificial spectra.
Another example provides a method for spectral modeling. The method includes receiving spectral data of a plurality of samples from a subset of a plurality of spectral devices, receiving spectral device characteristics representing spectral variations in the plurality of spectral devices, and generating a plurality of artificial spectra representing remaining spectral devices of the plurality of spectral devices based on the spectral data and the spectral device characteristics. The method further includes producing a chemometrics model for one or more parameters associated with the plurality of samples based on the spectral data and the plurality of artificial spectra.
These and other aspects of the invention will become more fully understood upon a review of the detailed description, which follows. Other aspects, features, and embodiments of the present invention will become apparent to those of ordinary skill in the art, upon reviewing the following description of specific, exemplary embodiments of the present invention in conjunction with the accompanying figures. While features of the present invention may be discussed relative to certain embodiments and figures below, all embodiments of the present invention can include one or more of the advantageous features discussed herein. In other words, while one or more embodiments may be discussed as having certain advantageous features, one or more of such features may also be used in accordance with the various embodiments of the invention discussed herein. In similar fashion, while exemplary embodiments may be discussed below as device, system, or method embodiments it should be understood that such exemplary embodiments can be implemented in various devices, systems, and methods.
The detailed description set forth below in connection with the appended drawings is intended as a description of various configurations and is not intended to represent the only configurations in which the concepts described herein may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well known structures and components are shown in block diagram form in order to avoid obscuring such concepts.
Various aspects of the disclosure relate to techniques for building chemometrics (calibration) models for spectral devices targeting ultra-wide-scale deployment. In an aspect, a plurality of samples are measured on a subset of a plurality of spectral devices to generate corresponding spectral data. The subset may include a single spectral device or several spectral devices, but less than all of the plurality of spectral devices. In some examples, the spectral data may include measurements of phantom samples corresponding to the plurality of samples. The phantom samples may be formed of a stable substance having a same absorbance spectra as the plurality of samples.
In addition, a characteristics extractor generates a set of spectral device characteristics representing spectral variations in the plurality of spectral devices. The extracted spectral device characteristics may include, for example, one or more of signal-to-noise ratio (SNR), wavelength repeatability, wavelength error, absorbance scaling, self-apodization function, baseline shift, back reflection, thermal drift, environmental drift, optical path difference (OPD) variation, Etalon effect, or other suitable characteristic. The characteristics may be generated in various manners. For example, the characteristics extractor may include a plurality of stages for extracting the different spectral device characteristics. The stages may include, for example, background measurements of the plurality of spectral devices, reference material measurements of the plurality of spectral devices, narrowband emission measurements of the plurality of spectral devices, and temperature-control measurements of the plurality of spectral devices.
In some examples, the spectral device characteristics may be extracted by measuring universal samples on at least a portion of the plurality of spectral devices that are different than the samples used to obtain the spectral data on the subset of spectral devices. In some examples, the portion of the plurality of spectral devices may include all of the plurality of spectral devices. In other examples, the portion of the spectral devices may include selected spectral devices having corresponding spectral device characteristics covering a space of variations including corners of production line characteristics of a production line including the plurality of spectral devices. The measured spectra of the universal samples may be fed to a signal processor in the characteristics extractor to extract the spectral device characteristics of the plurality of spectral devices.
In other examples, instead of measuring universal samples, the spectral device characteristics may be generated based on statistical information related to the production line of the plurality of spectral devices. For example, the characteristics extractor may extract the spectral device characteristics based on an understanding of production line variations and histograms. In an example, the characteristics extractor may derive various statistical parameters, such as the mean value, standard deviation, skewness, or kurtosis, based on the statistical information and determine a probability distribution of each of the statistical parameters. The characteristics extractor may then generate the spectral device characteristics based on the statistical parameters and the respective probability distribution of each of the statistical parameters.
The spectral device characteristics generated by the characteristics extractor and the spectral data produced by the subset of the plurality of spectral devices may then be fed into a spectral converter to produce a plurality of artificial spectra representing remaining spectral devices of the plurality of spectral devices (e.g., the spectral devices not included in the subset). The artificial spectra represent the expected spectra to be generated on the remaining spectral devices based on the spectral device characteristics thereof. In some examples, the spectral converter further applies pre-processing to the spectral data produced by the subset of the plurality of spectral devices. For example, the spectral converter may apply a spectral variance function, a spectral correction function, a spectral modulation and perturbation function, or an optical head variance function to account for different variances in the spectral data.
The resulting artificial spectra, together with the original spectral data, may then be input to an artificial intelligence (AI) engine (also referred to herein as a chemometrics engine) to build a chemometrics model for one or more parameters associated with the samples. In some examples, the AI engine may be a cloud-based AI engine. The AI engine may then adjust the chemometrics model to account for deviant spectral devices that deviate in performance from other regular spectral devices. In addition, the AI engine may further generalize the chemometrics model to be appliable to different types of spectral device(s) using a transfer function generated based on measurements obtained from one or more of the plurality of spectral devices and the different types of spectral device(s). For example, the different types of spectral device(s) may use a different light modulator, optical head, or other spectral device configuration. In some examples, the chemometrics model may be used to calibrate one or more of the plurality of spectral devices. In addition, the chemometrics model may be used to characterize a sample under test measured on a test spectral device. In this example, the spectral device characteristics of the test spectral device, along with a sample measurement of the sample under test, may be fed to the AI engine to generate a result (e.g., measured value of the sample under test) using the chemometrics model.
Conventionally, the number of bench-top infrared spectrometers produced per year was limited due to the expense of such bulky devices. With the technological advancement of a new generation of spectrometers and new usage models of the spectrometers, the number of devices being produced and sold is significantly growing. The new generation makes use of different technologies and methods to produce miniaturized spectrometers. For example, the new generation includes diffraction-grating spectrometers using a digital micro-mirror device (DMD) together with a diffraction grating, or a scanning micro-electro-mechanical-systems (MEMS) diffraction grating rotated by a rotary MEMS actuator with a spectral range of 950 nm to 1.9 μm. The new generation further includes MEMS tunable Fabry-Perot devices covering wavelength ranges 1.5-2.0 μm or 1.9-2.5 μm, and MEMS Fourier Transform Infrared (FTIR) spectrometers based on self-aligned and highly integrated architectures, such as Michelson interferometers, multimode interference MMI, or spatially-shifted Fabry-Perot. In addition, the new generation further includes hand-held spectral sensing devices using any of the above core spectral sensor designs.
FTIR spectrometers measure a single-beam spectrum (power spectral density (PSD)), where the intensity of the single-beam spectrum is proportional to the power of the radiation reaching the detector. In order to measure the absorbance of a sample 112, the background spectrum (i.e., the single-beam spectrum in absence of a sample) may first be measured to compensate for the instrument transfer function. The single-beam spectrum of light transmitted or reflected from the sample 112 may then be measured. The absorbance of the sample 112 may be calculated from the transmittance, reflectance, or trans-reflectance of the sample 112, the former being illustrated. For example, the absorbance of the sample 112 may be calculated as the ratio of the spectrum of transmitted light, reflected light, or trans-reflected light from the sample to the background spectrum.
The FT-IR spectrometer 100 includes a fixed mirror 106, a moveable mirror 108, a beam splitter 104, and a detector 114 (e.g., a photodetector). A light source 102 associated with the spectrometer 100 is configured to emit an input beam and to direct the input beam towards the beam splitter 104. The light source 102 may include, for example, a laser source, one or more wideband thermal radiation sources, or a quantum source with an array of light emitting devices that cover the wavelength range of interest.
The beam splitter 104 is configured to split the input beam into two beams. One beam is reflected off of the fixed mirror 106 back towards the beam splitter 104, while the other beam is reflected off of the moveable mirror 108 back towards the beam splitter 104. The moveable mirror 108 may be coupled to an actuator 110 to displace the movable mirror 108 to the desired position for reflection of the beam. An optical path length difference (OPD) is then created between the reflected beams that is substantially equal to twice the mirror 108 displacement. In some examples, the actuator 110 may include a micro-electro-mechanical systems (MEMS) actuator, a thermal actuator, or other type of actuator.
The reflected beams interfere at the beam splitter 104 to produce an output light beam, allowing the temporal coherence of the light to be measured at each different Optical Path Difference (OPD) offered by the moveable mirror 108. The signal corresponding to the output light beam may be detected and measured by the detector 114 at many discrete positions of the moveable mirror 108 to produce an interferogram. In some examples, the detector 114 may include a detector array or a single pixel detector. The interferogram data verses the OPD may then be input to a processor (not shown, for simplicity). The spectrum may then be retrieved, for example, using a Fourier transform carried out by the processor.
In some examples, the spectrometer 100 may be implemented as a MEMS interferometer (e.g., a MEMS chip). For example, the MEMS chip may be attached to a printed circuit board (PCB) that may include, for example, one or more processors, memory devices, buses, and/or other components. As used herein, the term MEMS refers to an actuator, a sensor, or the integration of sensors, actuators and electronics on a common silicon substrate through microfabrication technology to build a functional system. Microelectronics are typically fabricated using an integrated circuit (IC) process, while the micromechanical components are fabricated using compatible micromachining processes that selectively etch away parts of the silicon wafer or add new structural layers to form the mechanical and electromechanical components. One example of a MEMS element is a micro-optical component having a dielectric or metallized surface working in a reflection or refraction mode. Other examples of MEMS elements include actuators, detector grooves and fiber grooves.
In some examples, the MEMS interferometer (FT-IR spectrometer 100) may be fabricated using a Deep Reactive Ion Etching (DRIE) process on a Silicon On Insulator (SOI) wafer in order to produce the micro-optical components and other MEMS elements that are able to process free-space optical beams propagating parallel to the SOI substrate. For example, the electro-mechanical designs may be printed on masks and the masks may be used to pattern the design over the silicon or SOI wafer by photolithography. The patterns may then be etched (e.g., by DRIE) using batch processes, and the resulting chips (e.g., MEMS chip) may be diced and packaged (e.g., attached to the PCB).
In some examples, the beam splitter 104 may be a silicon/air interface beam splitter (e.g., a half-plane beam splitter) positioned at an angle (e.g., 45 degrees) from the input beam. The input beam may then be split into two beams L1 and L2, where L1 propagates in air towards the moveable mirror 108 and L2 propagates in silicon towards the fixed mirror 106. Here, L1 originates from the partial reflection of the input beam from the half-plane beam splitter 104, and thus has a reflection angle equal to the beam incidence angle. L2 originates from the partial transmission of the input beam through the half-plane beam splitter 104 and propagates in silicon at an angle determined by Snell's Law. In some examples, the fixed and moveable mirrors 106 and 108 are metallic mirrors, where selective metallization (e.g., using a shadow mask during a metallization step) is used to protect the beam splitter 104. In other examples, the mirrors 106 and 108 are vertical Bragg mirrors that can be realized using, for example, DRIE.
In some examples, the MEMS actuator 110 may be an electrostatic actuator formed of a comb drive and spring. For example, by applying a voltage to the comb drive, a potential difference results across the actuator 110, which induces a capacitance therein, causing a driving force to be generated as well as a restoring force from the spring, thereby causing a displacement of moveable mirror 108 to the desired position for reflection of the beam back towards the beam splitter 104.
For light trapped in a Fabry—Perot cavity formed between the fixed mirror 206 and the movable mirror 208, maximum transmission occurs when the optical path difference between each transmitted beam is equal to one complete cycle. This phenomenon can be used to create a tuneable light filter, which can be used as a spectrometer, as shown in
λmax=2nrd*cos(θ) (1)
where nr is the refractive index of the cavity, d is the distance between the two mirrors 206 and 208 and θ is the incidence angle. If d changes as a result of motion of the movable mirror 208 using, for example, springs 210, λmax will change, thus forming a spectrometer. By measuring the light intensity using the photodetector 212 and measuring d, the relative intensity of each wavelength can be calculated.
As with the FT-IR spectrometer 100 shown in
Diffraction grating spectrometers 300, such as the one shown in
d sin(θm)=mλ (2)
where d is the periodicity of the grating, θm is the angle of diffracted beam and m is the order of diffraction. By measuring light intensity at each position on the detector 308, relative intensity for each wavelength point can be calculated. In some examples, the detector 308 may be a multi-pixel detector, as shown in
The resulting light spectrum produced by the diffraction grating spectrometer 300 corresponds to a power spectral density (PSD), where the intensity of the spectrum is proportional to the power of the radiation reaching the detector 308 at each point. In order to measure the absorbance of a sample 304, the background spectrum (i.e., the spectrum in absence of a sample) may first be measured to compensate for the instrument transfer function. The spectrum of light transmitted or reflected from the sample 304, the former being illustrated, may then be measured.
The unique information from the vibrational absorption bands of a molecule are reflected in an infrared spectrum that may be produced, for example, by any of the spectrometer shown in
The resulting chemometrics model 400 may then be applied to a spectrum Stest of a sample under test to produce a result 402 (e.g., a prediction of a parameter) associated with the sample. In some examples, the chemometrics model 400 is included within an AI engine 404 and the spectrum may be input to the AI engine 404 for analysis and processing. The AI engine 404 is configured to process the spectrum to generate a result 402 indicative of at least one parameter associated with the sample from the spectrum. For example, the AI engine 404 may include one or more processors for processing the spectrum and a memory configured to store one or more calibration (chemometrics) models utilized by the processor in processing the spectrum. The AI engine 404 can include, for example, one or more calibration models, each built for a respective type of analyte under test. Validation and outliers detection of the test results may then be performed to refine the chemometrics model 400.
In some examples, the spectrum includes a measured absorption spectra and the AI engine 404 is configured to detect one or more analytes from absorption signals of the measured absorption spectra in the near-infrared frequency range. In some examples, absorption signals in the near-infrared region (frequency range) can be used to detect the analyte based on overtones and combinations of the fundamental vibrational modes. Since the spectrum produced by infrared (IR) spectroscopy are instantaneous, unlike conventional analysis methods, there is no need to wait for certain transformations (e.g., chemical transformations) to occur within the sample. Different physical and chemical parameters of the sample can be analyzed with a single scan.
Various specifications (characteristics) of spectral sensing devices may affect the obtained spectrum when measuring a sample under test. The spectral range defines the minimum and maximum wavelength. In an FTIR spectrometer, the spectral range is limited by the detector responsivity and the beam splitter material transparency. The range is usually defined based on a certain drop in the signal level, such as, for example, a ratio of 1 to 10 as shown in
Due to statistical variations in the production line of the components of a spectral device and the system integration of these components, there is a difference in the specifications (also referred to herein as spectral device characteristics) of the different units (spectral devices) coming out of the same production line. These difference include x-axis values, y-axis values and exact shape and width of the spectral lines. One example is self-apodization that occurs in FTIR spectrometers seen as an attenuation in the interferogram of a single wavelength line versus optical path difference or the retardation, as shown in
These variations can lead to errors in the resolution of the line as well as the photometric value of the absorbance. Due to these variations and errors, the chemometrics model developed on a certain spectral device may not be usable with acceptable prediction errors on another spectral device. This phenomenon can be seen as a systematic bias and/or proportional bias between spectral devices (units), with systematic bias being the most common. The systematic bias (Bj) is the mean difference between predicted and reference methods (offset) given by (where j refers to a specific device):
The standard error of prediction (SEPj) is calculated as the standard deviation of predicted residuals:
The root mean squared error (RMSE) can then be calculated as:
Due to the unit-to-unit variation, large bias or/and slope errors in the predictions may occur. In this case, a calibration transfer may be used to transfer the developed calibration model to another spectral sensing device that may have a different architecture or different specifications. The transfer is carried out either by transferring the spectra or transferring the whole model predictions. In the first case, a set of reference samples can be measured on unit j (original device) and on unit N (targeted device). The resulting spectra can be used to find the mathematical relation for conversion of the spectra measured on unit j to the equivalent spectra that should result from being measured on unit N. Then, the normal chemometrics modeling is applied on the transferred spectra. Direct standardization (DS) and piecewise direct standardization (PDS) are the common methods that are used to transfer the spectra by finding a regression relation between the spectral points of the two devices. DS uses the whole slave spectrum while in PDS, a small window from the slave spectrum is used instead. In the second case, mathematical operations are applied to convert or correct the regression coefficient of the model of unit j so that it can provide correct results with unit N. Data processing may also be used, such as baseline removal, de-trending and derivatives, multiplicative scatter correction, orthogonal signal correction and generalized least squares. One approach, called spectral space transformation, has been developed to maintain the predictive abilities of multivariate calibration models when the spectrometer or measurement conditions are altered. This approach attempts to eliminate the spectral differences induced by the changes between devices or measurement conditions. Another approach based on 1-norm or 2-norm variants of Tikhonov regularization can also be used to perform calibration maintenance and transfer where just a few samples measured in the secondary condition/device are augmented to the primary calibration data to update the primary model. The main challenge for all the transfer methods is that in most of the cases, a material/device-specific matrix is generated in order to develop transfer models per each material/device.
For example, the use of NIR spectroscopy in the feed industry has historically been hindered by the need to build a calibration model for each spectral device. Therefore, calibration transfer appeared as a necessity for practical application and implementation of NIR over time. The spectral devices were benchtop devices used in the laboratories and produced with relatively small volume. The calibration transfer involved the use of tens of samples measured on the primary (or original) device and the secondary (or target) device for the transfer. The aforementioned different approaches attempt to simplify the mathematics and reduce the computational and experimental measurements burden. However, there is still a need to measure a subset of standardization samples on two devices or under two sets of experimental conditions. The standardization samples have to be of the same type as the samples being modeled and contain analytes spanning the same range of analyzed parameters. In addition, the samples have to be measured on each and every new spectral device the calibration (chemometrics) model is being transferred to. Moreover, intrinsic to the nature of the sample, the measurements on both devices should be performed at the same time to avoid unexpected changes in the standardization samples. Thus, a different chemometrics model has to be installed on each different spectral device produced. This is not compatible with the mass production of chemometrics models and the ultra-wide-scale deployment of the spectral devices for ubiquitous chemical analysis.
Based on the chemical nature of the problem that the intrinsic absorbance of the substances in a certain sample remains unchanged, if the optical path and spectral device response are the same, a simulation for the direct representation of the extended version of the Beer-Lambert law for multi-component systems can be used based on the equation:
A=b[ε
1(λ)c1+ε2(λ)c2+ . . . εn(λ)cn] (6)
where A is the absorbance, ε is the substance absorptivity and c is the substance concentration in the sample. Thus, using experimental measurements for the absorptivity and solvent displacement values for each substance in the sample matrix, and by measuring the background of each individual instrument b, the absorbance and transmittance can be calculated. This method has been presented on liquid analysis problem. However, this method did not produce satisfactory results for the spectral device that has deviations in its spectral response. Additional measurements for reference samples by the different spectral devices had to be used to complement the simulation data. In addition, although the prediction of the spectra based on Equation 6 above can be satisfactory for liquids or gases since the physical nature of the sample (e.g., in terms of shape, path length, and scattering) are well controlled, for solids and inhomogeneous or heterogeneous samples, this may not be able to be represented by Equation 6.
A different approach is to measure a very large data set using many different spectral devices to build a global calibration model that can be used on all of them. However, pre-processing of the data set should be carefully done to reduce the variation between the spectral devices to reduce the global prediction errors. Moreover, measuring large datasets on large numbers of spectral devices can be very expensive and not practical in some cases.
Therefore, various aspects relate to techniques for building chemometrics (calibration) models for spectral devices targeting ultra-wide-scale deployment. In various examples, a calibration transfer from a first spectral device to a second spectral device may be carried out without measuring the same samples on both spectral devices, thus reducing the cost of the sample measurement process and enabling globalization of chemometric models. Instead, spectral device characteristics of the first and second spectral devices may be generated by a characteristics extractor and the output thereof fed to a spectral converter to produce artificial spectra for the second spectral device based on spectral data obtained by the first spectral device. The artificial spectra and spectral data may then be fed into to a chemometrics modeler (e.g., AI engine) to produce the chemometrics model for the second spectral device. The chemometrics model may further be generalized for a plurality of spectral devices based on the respective spectral device characteristics thereof.
The characteristics extractor 710 is configured to generate spectral device characteristics 712 representing spectral variations in the plurality of spectral devices 702 based on the spectral device information 708 and to input the spectral device characteristics 712 to the spectral converter 714. In some examples, the spectral device characteristics 712 may include one or more of signal-to-noise ratio (SNR), wavelength repeatability, wavelength error, absorbance scaling, self-apodization function, baseline shift, back reflection, temperature variation (e.g., thermal drift), environmental drift, optical path difference (OPD) variations, or Etalon effect.
A subset of the spectral devices 704 (e.g., i spectral devices, where i is <<N) may be used to measure a plurality of samples (e.g., M samples). The resulting spectral data 706 of the measured samples may be fed into the spectral converter 714. The spectral data 706 may include a respective spectrum S1i, S2i, SMi from each of the i spectral devices 704 for each of the M samples. The spectral converter 714 may apply multiple mathematical transformations and spectral effects to the spectral data 706 using the spectral device characteristics 712 to generate a plurality of artificial spectra 716 representing remaining spectral devices (e.g., spectral devices not included in the subset 704) the plurality of spectral devices 702. For example, as shown in
The artificial spectra 716, along with the spectral data 706 (e.g., S1i, S2i, . . . , SMi) obtained by the subset of spectral devices, may be fed into the AI engine 718 to produce a respective chemometrics model 720 for one or more parameters associated with the samples. Although not shown in
To produce a chemometrics model 816b for a second spectral device (Device 2) 804, a chemometrics (calibration) transfer may be performed without using any of the M samples 806. A characteristics extractor 818 (which may correspond, for example, to the characteristics extractor 710 shown in
The spectral device characteristics 822, together with the spectral data 808 may then be fed into a spectral converter 824. The spectral converter 824 can then produce generated (artificial) spectra 826 for Device 2804 resembling the spectra expected to be produced by Device 2804 if Device 2804 had measured the samples 806. The artificial spectra 826 may then be fed to a chemometrics engine 814b to produce the chemometrics model 816b for Device 2804. In some examples, the chemometrics engines 814a and 814b may be combined into a single chemometrics engine.
Additional characteristics may include, for example, absorbance scaling, environmental drift, optical path difference (OPD) variations, Etalon effects, and other suitable spectral device characteristics.
In Stage 1 902, a background spectra 910 is extracted by a spectral device 906 using a reflection tile or transmission sampling accessory (e.g., a cuvette) 904. Using auto triggering of scans 908, several measurements can be taken and fed into a spectral data analyzer 912 of the characteristics extractor 900 to extract the SNR 914 by calculating the changes occurring in the captured response from one measurement to another representing the noise on the y-axis. The baseline shape can be also extracted from the spectral data. When the scan is carried out without having the tile or the cuvette 904 in place, the captured signal is an offset signal in the spectrum that can be coming from internal stray light in the spectral device 906 not passing by the sample.
Referring again to
In Stage 3 932, a narrowband optical filter 934 (e.g., a filter receiving wideband light and passing narrowband light) may be measured by a spectral device 936, and the resulting interferogram 938 may be fed into an interferogram analyzer 940 of the characteristics extractor 900 to extract a self-apodization function (envelope) of the spectral device 936. In this case, the interferogram 938 corresponds to measured light with a narrow band. The spectral width of the light source should be much smaller than the resolution of the spectral device 936 under extraction. Otherwise, a correction can be applied to account for the effect of the larger spectral width of the light source.
Referring again to
Given that the characteristics of any spectral device (e.g., spectral sensor or spectral scanning device) can be extracted, as discussed above, the characteristics can be used to convert the spectra measured by one spectral device to the expected spectra from another spectral device.
In the example shown in
The spectral converter 1700 is further fed by the raw spectral data 1704 of a plurality of samples (e.g., M samples) measured by a single spectral device (device i), along with the spectral device characteristics 1706 of device i. Based on the spectral device characteristics 1702 and 1706 and the spectral data 1704, the spectral converter 1700 can produce the artificial spectra 1708 that may be used to build a global chemometrics model based on the production line statistics. In this example, the artificial spectra 1708 generated by the spectral converter 1700 does not correspond in a one-to-one manner to any of the spectral devices produced on the production line. However, the artificial spectra 1708 does correspond to virtual spectral devices that span across the characteristics of the production line.
In some examples, the spectral converter can apply pre-processing on the spectral data provided by the subset of spectral devices, as shown in
The resulting processed spectral data 2004 may be fed into a spectral statistical converter 2006 that is further fed by the statistical spectral device characteristics (e.g., histogram or probability distribution) 2008 of the production line spectral devices. The spectral statistical converter 2006 produces the artificial spectra 2010 (S1h1, S2h1, SMh1 . . . S1hN, S2hN, . . . , SMhN) based on the processed spectral data 2004 and the statistical spectral device characteristics 2006. The produced artificial spectra 2010 can be then used to build a global chemometrics model 2012 for all spectral devices.
In the example shown in
The processed spectral data 2306 and spectral device characteristics 2310 (e.g., histograms of the produced spectral devices) may then be fed into a spectral statistical converter 2308 to produce the artificial spectra 2312 (S1h1, S2h1, SMh1 . . . S1hN, S2hN, . . . , SMhN) for hypothetical spectral devices with combinations of characteristics 2310 and aging with time. The artificial spectra 2312 may then be used to build the chemometrics model 2314 for all production line spectral devices. By adding modulation and perturbation to the spectral data to account for environmental and aging effects, the resulting chemometrics model 2314 may be self-maintained, and may not need updates from time to time to account for the aging of the devices or seasonal changes in the environment.
The variation can be in the spot size of the illumination/collection, distance between the sample and the optical window, the use of multiple optical windows, the use of sample rotator averaging spatial in homogeneity in the sample and alike. Different mathematical operations associated with the optical head variance function can be used to account for such variants, such as the adjustment of the baseline by different orders, the application of differential spectroscopy techniques, averaging multiple spectra from different fills of the sample, and/or other mathematical operation.
The processed spectral data 2406 and spectral device characteristics 2410 (e.g., histograms of the produced spectral devices) may then be fed into a spectral statistical converter 2408 to produce the artificial spectra 2412 (S1h1, S2h1, SMh1 . . . S1hN, S2hN, . . . , SMhN) for hypothetical spectral devices with combinations of characteristics 2310 and aging with time. The artificial spectra 2412 may then be used to build the chemometrics model 2414 for all production line spectral devices. Therefore, the use of one optical head configuration and the use of the optical head configurations processor 2404 can lead to generalizing the chemometrics model 2414 for other optical head configurations.
The generalizer statistical spectral converter 2600 is configured to convert the spectral data 2608 to a plurality of artificial generated spectra 2610. The spectral conversion process performed by the generalizer statistical spectral converter 2600 may include multiple spectral effects based on the spectral device characteristics being applied onto the spectral data 2608, as shown in
Selection of the spectral effects to be applied, the amount of variations, and the order of the spectral effects, can be optimized by the generalizer statistical spectral converter 2600 for each application to minimize the bias between different spectral devices and their respective prediction errors. The added effects can be due to variations related to the photodetector response, light source, optical coupling elements between the light source, interferometer and photodetector, background samples, distance between the sample and the optical windows, actuation and sensing electronics. The effects can be experimentally extracted, empirically fitted or modeled behaviorally based on physical effects in the form of compact models.
For example, inputs to the spectral converter 2800 may include the transmission or reflection spectral data (Si) to be processed, the background PSD (PSDbackground), and resolution change 2808. The spectral converter 2800 may extract the interferogram from the spectral data as follows:
PSDp=Si×PSDBackground (7)
Interferogram=inverse FT(PSDp)=Io (8)
The spectral converter 2800 may then choose an apodization functions set 2804 based on the resolution change values 2808 and multiply the extracted interferogram by the set of apodization functions 2804 to produce the artificial spectra (So) 2810 as follows:
The spectral converter 2800 changes the spectral resolution and accordingly the photometric accuracy of the spectral data 2802 by apodization of the corresponding interferograms of the input spectral data 2802, as shown in
The wavenumber vector can be shifted from the original input wavenumber vector as follows:
νnew=(1+Gain error)νin+Offset error (11)
Wavelength error can vary from wavelength position to wavelength position along the spectrum, as shown in
νnew=anνinn+an-1νinn-1a1νin+Offset error (12)
The output artificial spectra (So) 2908 can be generated through interpolation of the shifted spectra via spectral interpolation block 2904 onto the input wavenumber vector, as shown in
The noise standard deviation can then be added to the input spectral data Si 3004 by addition block 3002 to produce output artificial spectra So 3008 as follows:
Different shapes of PSDBackground covering device to device variations, as shown in
A
o
=SF(λ)Ai (15)
In other examples, as shown in
A
o
=SF(λ)(Ai−Ai,BL)+Ai,BL (16)
The resulting generated (artificial) spectra 3208 are related to the input spectral data 3202 as either:
S
o
=S
i*RateThermal drift*(T−TBG) (17)
where RateThermal drift is the rate of spectral variations per temperature degree or:
S
o
=S
i*Response(T)/Response(TBG) (18)
where Response(T) is the system spectral response across temperature, that includes the thermal behavior of different system components.
A
i=−log10Si (19)
A
o
=A
i
*E
scattring
+E
λ
*λ+E (20)
S
o=10−A
As shown in
S
o=(1+rBR(λ))Si−rBR(λ) (22)
where rBR is the backreflection ratio of the background spectrum.
The spectral converter 3400 may further include a multiplication block 3410 configured to multiply an Etalon (Fabry Perot) effect 3408 (e.g., air gap/reference coefficients) to the spectral data Si 3402 to generate the artificial spectra So 3412. For example, the Etalon effect can be further applied as:
S
o
=T
Etalon(λ)((1+rBR(λ))Si−rBR(λ)) (23)
Typically, materials that are used for background measurements in bench top spectral devices are calibrated and chosen to be of high purity and stability and consequently of high cost. Moreover, they are kept away from any contamination. However, it is not practical to make such high-purity background materials for each handheld spectral device that are produced on a large scale. Hence, cheap and less pure background materials may be used for handheld spectral devices. Moreover, as handheld spectral devices are meant to be used in the field, it may not be possible to keep them away from contaminations. Therefore, background material for handheld spectrometers may have some variations that may affect model performance.
S
artf
=Rν(Δ)·Smeas (24)
Multiple artificial spectra can be generated from one measured spectrum using a set of Rν (λ) spectral variations that covers the variations of the background reference material.
In FTIR spectrometers, the maximum movement distance of the movable mirror or what is known as full travel range FTR is the factor that controls the resolution of the spectrometer. The maximum optical path difference OPD of an interferometer is twice the FTR. Mirrors are moved using actuators and actuators have variations. Hence, the maximum OPD is not constant across the different spectrometers. The differences in maximum OPD will not only introduce differences in resolution and wavelength accuracy, but will also introduce differences in the device line shape function and, hence, change line shape ripples position and amplitude.
I
new
=I
o
×W
BC(OPD) (25)
Mirror positioning is usually associated with measurement and post processing errors, which lead to OPD error that consequently affects the spectral accuracy. In MEMS FTIR spectrometers, the moveable mirror is driven by a comb drive actuator, where the mirror position is measured by capacitive sensing technique. The capacitance to OPD relation is measured on the production line within the calibration flow of each spectrometer unit. However, there is still a calibration residual error that changes from unit-to-unit. In addition, a residual delay can exist between the measured detector signal versus time and the corresponding capacitance (consequently OPD) signal, which adds to the OPD errors. Such OPD errors can be applied on the measured spectral data to generate artificial spectra that covers these errors and variations from unit-to-unit, such that the artificial units OPD, OPDartf, is a function of the actual unit OPD, OPDactual:
OPD
artf
=f(OPDactual) (26)
In some examples, generalization can be performed using generalized calibration transfer techniques.
N+(N−2)NP2 (27)
where P is permutation symbol.
The generated artificial spectral devices 3702 have a naturalistic instrumental error, not a calculated or emulated error. Moreover, the generated transfer function for different materials and applications can be stored in a library, to be accessible to different users to transfer and generalize their measured samples. The transfer functions can be specific to some materials or they can be generally used to transfer any material measured by a single spectral device to emulate measuring it by many spectral devices. For example, the spectral converter may access the library of pre-calculated stored transfer functions and select which transfer functions should be applied based on the spectral device characteristics.
Adding variations that do not exist to the spectral data used for building chemometrics models may weaken the chemometrics models. Hence, optimization of the generalizer spectral converter parameters for general purposes or for specific applications may be performed. This can be done by integrating the generalizer spectral converter with a chemometrics engine to select the generalizer spectral effects (based on spectral device characteristics), order them according to impact, and tune their parameters according to the chemometric model's performance.
In some examples, the chemometrics model calibration may undergo several steps of adjustments and refinements to optimize the model performance across all different situations. The chemometrics engine can include different stages to build the model, including selection of the subset of spectral devices, wavelengths folds selection, data unification, model calibration, choosing am optimum number of latent variables, and model adjustment. Initially, the chemometrics engine can be configured to choose the subset of spectral devices used for spectral data collection, and due to the nature of the applications based on miniaturized spectrometers, this stage can be conducted with a precise methodology to ensure optimized performance. Afterward, the chemometric engine can apply the second stage, which is concerned mainly with selecting the best wavelengths ranges and discarding others according to their correlation with the model's dependent variable. In the third stage, the collected data can be expressed to a unification process to remove any undesired fluctuations which may be introduced from improper material measurement or spectral device variations themselves. Finally, in the fourth stage, model calibration is performed, in which the chemometrics model is trained using the optimized dataset to generate the multivariate model. The fifth stage is an optional stage that adjusts the trained model to be able to work with some deviated spectral devices without the need to retrain the model from scratch again.
At blocks 4404 and 4406, the samples are measured using both the deviant spectral devices and one or more regular sensors (e.g., spectral devices with acceptable performance). At blocks 4408 and 4410, the output for both regular and deviant spectral devices is applied to the chemometrics model and aligned together, such that a new model limited to deviant spectral devices is generated at block 4412.
Mathematically, the model can be adjusted at block 4410 by applying a polynomial correction function as represented in:
Y
adj
=a
n
Y
D
n
+a
n-1
Y
D
n-1
+ . . . +a
0 (28)
where Yadj is the adjusted output of the model, while Y_D and a are the deviated output of the model and the polynomial coefficient respectively.
The coefficients of the polynomial function are optimized based on the readings of the adjustment samples measured at blocks 4404 and 4406, and this can be achieved by applying the following equation:
e=Σ[Y
R−(anYDn+an-1YDn-1+ . . . +a0)])2 (29)
where e is error term which need to be minimized, and YR is the output of the model of the adjustment samples measured by the regular spectral devices at block 4404.
The degree of polynomial correction function can be determined based on the type of the deviation; accordingly, the size of the adjustment samples used for optimizing the polynomial is calculated. However, in most cases, a first-order polynomial may fix the deviations in the output similar to the example shown in
In examples in which there are multiple spectral devices in the subset of spectral devices used to obtain the spectral data, the spectral dataset formed from the multiple spectral devices may be used to feed a multivariate chemometrics model to predict a target property. Two algorithms are discussed herein aimed at unifying the spectral data coming from various spectral devices and obtaining a standardized form of the spectral dataset to be fed to the model building stage. In the first algorithm, shown in
B=A⊥={{right arrow over (x)}ε
n
|{right arrow over (x)}.{right arrow over (a)}=0∀{right arrow over (a)}εA} (30)
Then, a unified spectral dataset 4608 can be found by projecting the multi-device spectral data S on subspace B, generating SB represented in an uncorrelated subspace to A. The unified spectral data 4608 may then be used to build the chemometrics model 4610.
The second algorithm, shown in
D=Matrix[Xj(i)−
where Xj(i) s the spectrum of sample j for device i and
min∥X−(X P)PT∥+μ∥D∥S.T.P PT=1 (32)
where X is the spectral data, P and T are the principle components loadings and scores, and μ is the regularization rate.
In some examples, it may not be practical to measured real samples; such as food, feed, soil and others on the production line, since the properties of the samples change with time and usage. At the same time, there is a need to test the spectral devices after calibration and ensure that the bias/slope of the chemometrics models applied to the calibrated spectral devices are within the accepted range. If not, the spectral devices may need to be re-calibrated.
As shown in
The generalization can be also extended to a globalization process as shown in
In some examples, testing of child spectral devices may be performed as indicated in the example shown in
In the example shown in
In the example shown in
In the data collection stage 5302 that is performed on the model developer side, a number of samples (N) 5304 of varying conditions and constituents' concentrations are collected and prepared for measurement. Spectral measurements of the N samples are performed at block 5306 using M spectral devices (the main kit) corresponding to a subset of the plurality of spectral devices to produce a main spectral dataset 5308. Each of the M spectral devices measures a different set of samples. Each spectral device measures a set of samples with high distribution across the range of the parameters of interest (for example, samples with varying protein values across the full range of protein for this material). The samples are referenced using wet chemistry or NIR benchtop devices. The sample condition should be maintained during spectral measurement on the spectral devices and during referencing to ensure consistency. A subset of the samples (e.g., 20 samples) 5312 are further measured by at least one of the M spectral devices and preferably measured by multiple of the M spectral devices for extra data augmentation. The subset of samples 5312 shall be preserved and sealed carefully and shipped to the closest development center to developer/customer location. References for these samples shall be provided.
Development centers are dedicated for model augmentation, validation and maintenance. In the development center stage 5310, the subset of samples 5312 received from the model developer is measured by a development kit composed of a larger number of spectral devices (D spectral devices, where D>M and D<T, where T it the total number of spectral devices) to cover more regions on the space of variations. The generated dataset is referred to as the development dataset 5316 and is used to augment the main dataset 5308 to introduce more data to the built model.
In the model developer stage 5318, the main dataset 5308 and the development dataset 5316 are merged at block 5320 forming a high coverage dataset 5322. The merged dataset 5322 is used to generate an initial model to check for any outlier readings. The cleaned dataset is fed to a generalizer module 5324. The generalizer module 5324 generates a plurality of artificial spectra from the cleaned dataset and spectral device characteristics of the production line (T) spectral devices. The artificial spectra represent virtual spectral devices that map to the production line distribution of spectral devices. The output of the generalizer module 5324 is an augmented dataset containing the merged dataset and artificial data. Model developing is performed at block 5326 on the final generalized dataset resulting in a scalable model that performs uniformly on any new spectral device. In some examples, spectral device out cross validation may be performed at block 5328 during model building to optimize the model parameters such that they best perform on new spectral devices.
The computing device 5400 may be implemented with a processing system 5414 that includes one or more processors 5404. Examples of processors 5404 include microprocessors, microcontrollers, digital signal processors (DSPs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, gated logic, discrete hardware circuits, and other suitable hardware configured to perform the various functionality described throughout this disclosure. In various examples, the computing device 5400 may be configured to perform any one or more of the functions described herein. That is, the processor 5404, as utilized in the computing device 5400, may be used to implement any one or more of the processes and procedures described herein. In some examples, the processing system 5414 may be distributed among various entities, which may be coupled via a direct or indirect connection (e.g., wired or wireless).
The processor 5404 may in some instances be implemented via a baseband or modem chip and in other implementations, the processor 5404 may include a number of devices distinct and different from a baseband or modem chip (e.g., in such scenarios as may work in concert to achieve examples discussed herein). And as mentioned above, various hardware arrangements and components outside of a baseband modem processor can be used in implementations, including RF-chains, power amplifiers, modulators, buffers, interleavers, adders/summers, etc.
In this example, the processing system 5414 may be implemented with a bus architecture, represented generally by the bus 5402. The bus 5402 may include any number of interconnecting buses and bridges depending on the specific application of the processing system 5414 and the overall design constraints. The bus 5402 links together various circuits including one or more processors (represented generally by the processor 5404), a memory 5405, and computer-readable media (represented generally by the computer-readable medium 5406). The bus 5402 may also link various other circuits such as timing sources, peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further.
A bus interface 5408 provides an interface between the bus 5402, a network interface 5410, and a power source 5432. The network interface 5410 provides a means for communicating with various other apparatus over a transmission medium (e.g., wireline or wireless) The power source 5432 provides a means for supplying power to various components in the computing device 5400. Depending upon the nature of the apparatus, a user interface 5412 (e.g., keypad, display, touch screen, speaker, microphone, control knobs, etc.) may also be provided. Of course, such a user interface 5412 is optional, and may be omitted in some examples.
The processor 5404 is responsible for managing the bus 5402 and general processing, including the execution of software stored on the computer-readable medium 5406. Software shall be construed broadly to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software modules, applications, software applications, software packages, routines, subroutines, objects, executables, threads of execution, procedures, functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. The software, when executed by the processor 5404, causes the processing system 5414 to perform the various functions described below for any particular apparatus. The computer-readable medium 5406 and the memory 5405 may also be used for storing data that is utilized by the processor 5404 when executing software. For example, the memory 5405 may store one or more of spectral data 5416, spectral device characteristics 5418, and/or a chemometrics model 5420.
The computer-readable medium 5406 may be a non-transitory computer-readable medium. A non-transitory computer-readable medium includes, by way of example, a magnetic storage device (e.g., hard disk, floppy disk, magnetic strip), an optical disk (e.g., a compact disc (CD) or a digital versatile disc (DVD)), a smart card, a flash memory device (e.g., a card, a stick, or a key drive), a random access memory (RAM), a read only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), a register, a removable disk, and any other suitable medium for storing software and/or instructions that may be accessed and read by a computer. The computer-readable medium 5406 may reside in the processing system 5414, external to the processing system 5414, or distributed across multiple entities including the processing system 5414. The computer-readable medium 5406 may be embodied in a computer program product. By way of example, a computer program product may include a computer-readable medium in packaging materials. In some examples, the computer-readable medium 5406 may be part of the memory 5405. Those skilled in the art will recognize how best to implement the described functionality presented throughout this disclosure depending on the particular application and the overall design constraints imposed on the overall system.
In some aspects of the disclosure, the processor 5404 may include circuitry configured for various functions. For example, the processor 5404 may include characteristics extractor circuitry 5442, configured to generate spectral device characteristics 5418 representing spectral variations in a plurality of spectral devices (e.g., that form a production line). In some examples, the spectral device characteristics 5418 may include at least one of signal-to-noise ratio (SNR), wavelength repeatability, wavelength error, absorbance scaling, self-apodization function, baseline shift, back reflection, thermal drift, environmental drift, optical path difference (OPD) variation, or Etalon effect.
In some examples, the characteristics extractor circuitry 5442 may be configured to receive background spectra from at least one spectral device using a reference tile or transmission sampling accessory and to extract the SNR based on the background spectra. In some examples, the characteristics extractor circuitry 5442 may be configured to receive measured spectra from at least one spectral device measured using a wavelength reference material and to extract at least one of the wavelength repeatability or the wavelength error based on the measured spectra. In some examples, the characteristics extractor circuitry 5442 may be configured to receive at least one interferogram from at least one spectral device measured using a narrowband optical filter and to extract the self-apodization function based on the at least one interferogram. In some examples, the characteristics extractor circuitry 5442 may be configured to receive measured spectra from at least one spectral device of the remaining spectral devices measured with variable temperature and to extract the thermal drift based on the measured spectra.
In some examples, the characteristics extractor circuitry 5442 may be configured to receive measured spectra of universal samples different than the plurality of samples from at least a portion of the plurality of spectral devices and to extract the spectral device characteristics of the plurality of spectral devices using measured spectra. In some examples, the portion includes all of the plurality of spectral devices. In other examples, the portion includes selected spectral devices of the plurality of spectral devices having corresponding spectral device characteristics covering a space of variations including corners of production line characteristics of the production line.
In some examples, the characteristics extractor circuitry 5442 may be configured to generate the spectral device characteristics 5418 based on statistical information related to the production line. For example, the statistical information may include various statistical parameters, such as the mean value, standard deviation, skewness, or kurtosis, and a probability distribution (histogram) of each of the statistical parameters. The characteristics extractor circuitry 5442 may further be configured to execute characteristics extractor instructions (software) 5452 stored in the computer-readable medium 5406 to implement one or more of the functions described herein.
The processor 5404 may further include spectral converter circuitry 5444, configured to receive spectral data 5416 of a plurality of samples from a subset of a plurality of spectral devices and to further receive the spectral device characteristics 5418 representing spectral variations in the plurality of spectral devices. The spectral converter circuitry 5444 may further be configured to generate a plurality of artificial spectra representing remaining spectral devices of the plurality of spectral devices based on the spectral data 5416 and the spectral device characteristics 5418. In some examples, the spectral data 5416 includes measurements of phantom samples corresponding to the plurality of samples, where each of the phantom samples includes a stable substance having a same absorbance spectra as one of the one or more samples.
In some examples, the spectral converter circuitry 5444 may be configured to apply a spectral variance function to the spectral data to produce processed spectral data representative of variances in the subset of the plurality of spectral devices. In some examples, the spectral converter circuitry 5444 may be configured to apply a spectral correction function to the spectral data to produce processed spectral data that removes uncontrolled variances in the subset of the plurality of spectral devices. In some examples, the spectral converter circuitry 5444 may be configured to apply a spectral modulation and perturbation function to the spectral data to produce processed spectral data spanning different levels of aging and environmental conditions variations. In some examples, the spectral converter circuitry 5444 may be configured to apply an optical head variance function to the spectral data to produce processed spectral data that accounts for different optical head configurations in the subset of the plurality of spectral devices.
In some examples, the spectral converter circuitry 5444 may be configured to apply a set of apodization functions to the spectral data (or the processed spectral data) to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to add wavelength errors to the spectral data (or the processed spectral data) to produce the plurality of artificial data. In some examples, the spectral converter circuitry 5444 may be configured to add noise across a spectral range corresponding to a signal-to-noise ratio (SNR) distribution to the spectral data (or the processed spectral data) to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to scale an absorbance spectrum of the spectral data (or the processed spectral data) using a wavelength dependent scaling factor to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to multiply the spectral data (or processed spectral data) by a thermal drift factor across wavelength to produce the plurality of artificial spectra.
In some examples, the spectral converter circuitry 5444 may be configured to add baseline variations to absorbance of the spectral data (or processed spectral data) to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to add back reflection spectra to the spectral data (or processed spectral data) to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to multiply an Etalon effect to the spectral data (or the processed spectral data) to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to multiply background material reflectance variations associated with background materials used to produce the spectral device characteristics to the spectral data to produce the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to apply optical path difference (OPD) errors to the spectral data to produce the plurality of artificial spectra.
In some examples, the spectral converter circuitry 5444 may be configured to optimize the spectral device characteristics based on measured values from test spectral devices. In some examples, the spectral converter circuitry 5444 may be configured to alter a distribution of the plurality of artificial spectra with respect to a corresponding measured value of the plurality of samples. In some examples, the spectral converter circuitry 5444 may be configured to extract difference spectra between the plurality of artificial spectra and the spectral data, where the difference spectra corresponds to clutter signals indicative of device variations between the plurality of devices. The spectral converter circuitry 5444 may then be configured to filter the clutter signals from the spectral data and the plurality of artificial data to produce processed spectral data used to generate the chemometrics model.
In some examples, the spectral converter circuitry 5444 may be configured to receive a development dataset of a subset of the plurality of samples measured by a development kit including an additional subset of the plurality of spectral devices larger than the subset of the plurality of spectral devices. The spectral converter circuitry 5444 may then be configured to merge the spectral data and the development dataset to produce a merged dataset and to use the merged dataset to generate the plurality of artificial spectra. In some examples, the spectral converter circuitry 5444 may be configured to access a library of pre-calculated stored transfer functions, select one or more selected transfer functions of the pre-calculated stored transfer functions based on the spectral device characteristics, and use the one or more selected transfer functions to generate the artificial spectra. In some examples, the spectral converter circuitry 5444 may further be configured to extract difference spectra between the plurality of artificial spectra and the spectral data, where the difference spectra corresponds to a repeatability file indicative of device variations between the plurality of devices. The spectral converter circuitry 5444 may further be configured to execute spectral converter instructions (software) 5454 stored in the computer-readable medium 5406 to implement one or more of the functions described herein.
The processor 5404 may further include chemometrics engine circuitry 5446 configured to produce a chemometrics model for one or more parameters associated with the plurality of samples based on the spectral data and the plurality of artificial spectra. In some examples, the chemometrics engine circuitry 5446 may be configured to select the subset of the plurality of spectral devices, select one or more wavelength ranges for the spectral data, removing fluctuations in the spectral data resulting from improper measurement or variations in the subset of the plurality of spectral devices, and train the chemometrics model based on the spectral data and the plurality of artificial spectra.
In some examples, the chemometrics engine circuitry 5446 may be configured to adjust the chemometrics model using additional spectral data from deviant spectral devices of the plurality of spectral devices that deviate in performance from regular spectral devices of the plurality of spectral devices. In some examples, the chemometrics engine circuitry 5446 may be configured to optimize a number of latent variables used to produce the chemometrics model to minimize a bias between test spectral devices of the remaining spectral devices and produce a root mean squared error within a specified range from a target minimum value. In some examples, the chemometrics engine circuitry 5446 may be configured to identify a unified spectral dataset for the subset of spectral devices based on the spectral data by projecting the spectral data onto a space that is uncorrelated with a subspace of spectral device specification discrepancies. In some examples, the chemometrics engine circuitry 5446 may be configured to form a matrix describing discrepancies between the subset of the plurality of spectral devices for each measurement in the spectral data and to apply a conditional dimensionality reduction on the sensor data using the matrix.
In some examples, the chemometrics engine circuitry 5446 may be configured to calibrate additional spectral devices using the phantom samples and the chemometrics model. In some examples, the chemometrics engine circuitry 5446 may be configured to generate a transfer function using a set of samples measured on one or more of the plurality of spectral devices and a different spectral device comprising a different configuration than any of the plurality of spectral devices. The chemometrics engine circuitry 5446 may then be configured to generalize the chemometrics model to include the different spectral device based on the transfer function.
In some examples, the chemometrics engine circuitry 5446 may be configured to producing the chemometrics model for the one or more samples based on the spectral data, the plurality of artificial spectra, and additional spectral device characteristics of the subset of the plurality of spectral devices. In some examples, the chemometrics engine circuitry 5446 may be configured to receive a sample measurement of a sample under test from a test spectral device of the plurality of test devices, where the sample under test corresponding to one of the one or more samples, receive test spectral device characteristics of the test spectral device and generate a result using the chemometrics model, the sample measurement, and the test spectral device characteristics.
In some examples, the chemometrics engine circuitry 5446 may be a cloud-based artificial intelligence engine configured to store the chemometrics model and test spectral device characteristics and other test spectral device characteristics of other test spectral devices of the plurality of spectral devices. In some examples, the chemometrics model 5420 may be a cloud-based chemometrics model accessible to the plurality of spectral devices. In some examples, the chemometrics engine circuitry 5446 may be configured to use the repeatability file together with corresponding zero reference values to generate the chemometrics model. The chemometrics engine circuitry 5446 may further be configured to execute chemometrics engine instructions (software) 5456 stored in the computer-readable medium 5406 to implement one or more of the functions described herein.
At block 5502, the spectral modeling system may receive spectral data of a plurality of samples from a subset of a plurality of spectral devices. At block 5504, the spectral modeling system may receive spectral device characteristics representing spectral variations in the plurality of spectral devices. At block 5506, the spectral modeling system may generate a plurality of artificial spectra representing remaining spectral devices of the plurality of spectral devices based on the spectral data and the spectral device characteristics. At block 5508, the spectral modeling system may produce a chemometrics model for one or more parameters associated with the plurality of samples based on the spectral data and the plurality of artificial spectra.
Within the present disclosure, the word “exemplary” is used to mean “serving as an example, instance, or illustration.” Any implementation or aspect described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects of the disclosure. Likewise, the term “aspects” does not require that all aspects of the disclosure include the discussed feature, advantage or mode of operation. The term “coupled” is used herein to refer to the direct or indirect coupling between two objects. For example, if object A physically touches object B, and object B touches object C, then objects A and C may still be considered coupled to one another—even if they do not directly physically touch each other. For instance, a first object may be coupled to a second object even though the first object is never directly physically in contact with the second object. The terms “circuit” and “circuitry” are used broadly, and intended to include both hardware implementations of electrical devices and conductors that, when connected and configured, enable the performance of the functions described in the present disclosure, without limitation as to the type of electronic circuits, as well as software implementations of information and instructions that, when executed by a processor, enable the performance of the functions described in the present disclosure.
One or more of the components, steps, features and/or functions illustrated in
It is to be understood that the specific order or hierarchy of steps in the methods disclosed is an illustration of exemplary processes. Based upon design preferences, it is understood that the specific order or hierarchy of steps in the methods may be rearranged. The accompanying method claims present elements of the various steps in a sample order, and are not meant to be limited to the specific order or hierarchy presented unless specifically recited therein.
The previous description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects. Thus, the claims are not intended to be limited to the aspects shown herein, but are to be accorded the full scope consistent with the language of the claims, wherein reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” Unless specifically stated otherwise, the term “some” refers to one or more. A phrase referring to “at least one of” a list of items refers to any combination of those items, including single members. As an example, “at least one of: a, b, or c” is intended to cover: a; b; c; a and b; a and c; b and c; and a, b and c. All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Moreover, nothing disclosed herein is intended to be dedicated to the public regardless of whether such disclosure is explicitly recited in the claims. No claim element is to be construed under the provisions of 35 U.S.C. § 112(f) unless the element is expressly recited using the phrase “means for” or, in the case of a method claim, the element is recited using the phrase “step for.”
This application claims priority to and the benefit of Provisional Application No. 63/323,036, filed in the U.S. Patent and Trademark Office on Mar. 23, 2022, the entire content of which is incorporated herein by reference as if fully set forth below in its entirety and for all applicable purposes.
Number | Date | Country | |
---|---|---|---|
63323036 | Mar 2022 | US |