You have been redirected to your local version of the requested page

Privacy Policy

I allow Metrohm AG and its subsidiaries and exclusive distributors to store and process my data in accordance with its Privacy Policy and to contact me by e-mail, telephone, or letter to reply to my inquiry and for advertising purposes. I can withdraw this consent at any time by sending an e-mail to info@metrohm.com.

This field is required.

This article investigates the effect of temperature on near-infrared (NIR) absorption spectroscopy and why it is crucial to control it – especially when analyzing liquid samples. These insights will help you to understand how to improve the accuracy and repeatability of NIRS measurements. 

Basic introduction to near-infrared spectroscopy

Near-infrared spectroscopy is an analytical method based on the interaction of light and matter. NIR spectrometers measure the absorption of light from the sample in the NIR region at wavelengths between 780 to 2500 nm. Chemical as well as physical and rheological parameters can be detected in both liquids and solids. Results are fast (< 1 minute) and no sample preparation or chemicals are required. Since NIRS is a secondary method, a primary method such as titration must be used to create a prediction model.
 

Learn more about the basics of NIRS in our blog post

Blog post: What is NIR spectroscopy?

Theory linking vibrational transitions and temperature dependence

The most fundamental model explaining the vibrational behavior of molecules is the harmonic oscillator model (Figure 1) [1,2].

Figure 1. Schematic display of the harmonic oscillator model used to describe the vibration of molecules. Only discrete energy levels (n = 0, 1, 2, etc.) and therefore vibration modes are available.

This theory, developed within the framework of quantum mechanics, explains the vibrational energy of molecules or functional groups using the following formula:

The harmonic oscillator model, developed within the framework of quantum mechanics, explains the vibrational energy of molecules or functional groups using this formula.

E = Energy

n = quantum level

h = Planck constant

ν = frequency

As depicted in Figure 1 and described by the equation above, the harmonic oscillator asserts that only certain discrete energy levels (quantum states n) are allowed. Therefore, the transition between different vibrational states (e.g., n = 0 to n = 1) occurs only when a specific amount of energy (∆E) is available.

E = hν

The energy difference ∆E depends on the Planck constant h and the frequency ν, with ν being influenced by the binding strength of the atoms within the molecule or functional group. Since the calculated energy differences fall within the range of infrared (IR) light and near-infrared light, IR and NIR light can induce vibrational transition. Furthermore, the model explains why the resulting absorbance bands can be associated with different functional groups.

Although temperature is not explicitly mentioned in the harmonic oscillator formula, temperature plays an important role because it defines in which energy state the molecules are. The probability of molecules being in a certain energy state level is described by the Boltzmann distribution [3]:

The probability of molecules being in a certain energy state level is described by the Boltzmann distribution with this formula.

Pn = probability of population of quantum level n

En = energy

kb = Boltzmann constant

T = temperature

Z = partition function

At very low temperatures, molecules predominantly populate the lowest energy state (n = 0). As temperature increases, the probability to occupy higher states (n = 1, 2, 3, ...) increases.

The temperature also influences the movement of the molecules, which in turn affects the width of the spectral bands. Higher temperatures cause a broadening of peaks due to the Doppler effect and increased molecular collision because of a higher mobility of the molecules. The impact of these factors is more pronounced in gases than in liquids, and is least pronounced in solids [4].

Effect of temperature changes on NIR predictions

To investigate the effect of temperature on NIR results, we selected various liquid applications and monitored the change in prediction results for specific temperatures. The analysis was conducted over a temperature range of 26–38 °C. 

The sample was measured three times at each temperature to determine the repeatability error of the NIR predictions. All measurements were performed using the OMNIS NIR Analyzer Liquid and OMNIS Software. Standard glass vials with an optical pathlength of 8 mm and a total fill volume of 1 mL were used as sample containers. Temperature control was managed using the built-in functionalities of the OMNIS NIR Analyzer. A representative measurement series is shown in Table 1.

Table 1. Measurement series for a polyol sample. The sample was initially cooled to 25 °C using the OMNIS NIR Analyzer and held at this temperature for 300 seconds. The sample was then heated to the target temperature (e.g., 26 °C) and the measurement was initiated. This procedure was repeated two additional times to obtain three measurements per target temperature.

Qualitatively, the high repeatability of measurements performed at the same temperature is clear as shown by the excellent overlap of spectra (Figure 2a). This is further confirmed by the quantitative analysis of the reproducibility shown in Figure 2b, which indicates a low repeatability error (absolute error = 0.05 mg KOH/g, relative error = 0.20%) as calculated from the repetition measurements.

Figure 2. a) Overlay of three spectra measured at the same temperature (T = 26 °C) with no qualitative difference. b) Results of repeatability measurements at the same temperature (T = 26 °C).

When comparing the NIR spectra from measurements taken at different temperatures, differences in spectral shape are directly observable (Figure 3a). This change affects NIR prediction results as displayed in Figure 3b, which shows a clear trend toward decreasing values at higher sample temperatures.

Figure 3. NIR prediction result dependence on temperature. a) Change of spectra shape at different temperatures in the wavelength region around 1900 nm which can be associated with hydroxyl functional groups. b) Plot of predicted values at different sample temperatures.

The investigation of other applications confirmed the observation that temperature affects the predicted results. Figure 4 illustrates the impact of temperature on the predicted values for hydroxyl value in polyols, moisture content in methoxypropanol, and cetane index and viscosity in diesel. A comparison across all applications reveals that the predicted results change linearly with variations in temperature. This constant absolute change in prediction results per degree of temperature change for each parameter reflects a consistent alteration in spectral shape with changes in sample temperature.

Figure 4. Dependence of NIR prediction results on sample temperature. The linear change in the predicted results reflects the consistent alteration of spectral features with each degree of change in sample temperature.

Therefore, neglecting sample temperature control during measurements will affect both the accuracy and reproducibility of NIR predictions. Table 2 displays the changes associated with each degree of temperature variation. Due to the absolute change per degree of temperature, the induced relative error is more significant for samples with lower concentrations.

Table 2. Overview of the absolute and relative change of NIR predictions with each degree of change in sample temperature for different applications. Relative errors induced by temperature changes can be very significant for lower concentrations of the parameter of interest.

Table 3 summarizes the total error of the polyol example with the measured parameter of hydroxyl value, including the repeatability error as well as the temperature-induced error for a deviation of 1 °C or 2 °C. As shown, a deviation of two degrees in temperature already causes a significant error of more than 1%. 

Table 3. Overview of the total error (repeatability error and temperature variation error) for a polyol sample with a predicted value of 24.91 mg KOH/g at 26 °C. 

How to improve the accuracy and reproducibility of NIR results

Change of sample temperature in an 8 mm vial induced by a heated sample holder with a target temperature of 30 °C. The sample temperature (initially 26 °C) only reaches 30 °C after waiting for 100 seconds.
Figure 5. Change of sample temperature in an 8 mm vial induced by a heated sample holder with a target temperature of 30 °C. The sample temperature (initially 26 °C) only reaches 30 °C after waiting for 100 seconds.

Based on these findings, it is highly recommended to use a reliable method for heating and/or cooling samples to their respective target temperatures. ASTM D6122, which provides general implementation guidelines for NIR applications, underscores this need:

  • A1.5 Sample Temperature
    Sample temperature greatly impacts the reproducibility of spectral measurements due to density changes and intermolecular interactions and may consequently affect predicted values.

One common solution for this when using NIR analyzers is to heat the sample holder to the target temperature and use a defined waiting time after inserting the sample to ensure thermal equilibrium. A challenge with this approach is determining the ideal waiting time to ensure the sample reaches the target temperature while leveraging the speed of NIR analysis. This is particularly challenging because the starting temperature of the sample can be influenced by variations in the laboratory due to seasonal effects (e.g., winter/summer). In many cases, waiting times of 30–60 seconds are used, but experiments show that such short periods are insufficient (Figure 5).

Therefore, a more sophisticated approach is to monitor the sample temperature itself. The OMNIS NIR Analyzer used for these experiments allows for such a procedure thanks to the combination of multiple temperature sensors and a sophisticated algorithm. With the OMNIS NIR Analyzer, temperature-controlled measurements can be defined to evaluate and regulate sample temperature automatically before the measurement begins. This offers multiple advantages:

  • No arbitrary waiting time is needed, ensuring the target temperature is reached while maintaining a high analysis speed.
  • Temperature fluctuations are minimized in measurements due to seasonal temperature changes in the laboratory environment.

Conclusion

The effect of temperature variation on NIR measurements and its influence on accuracy and repeatability are not always immediately apparent. This is because temperature fluctuations typically occur over extended periods (e.g., seasonal temperature changes in the laboratory) and are not as noticeable during the initial state of developing applications and creating NIR prediction models or libraries.

However, as demonstrated in this measurement series, such fluctuations can significantly affect the accuracy and repeatability of NIR predictions by more than 1% per degree of change in sample temperature and should, therefore, be controlled. Ideally, this should be done with functionalities that allow monitoring of the sample temperature, not just the temperature of the sample holder.

References

[1] Heisenberg, W. Über quantentheoretische Umdeutung kinematischer und mechanischer Beziehungen. Z. Für Phys. 1925, 33 (1), 879–893. DOI:10.1007/BF01328377

[2] Landsberg, Gr. Molekulare Lichtzerstreuung in festen Körpern. I: Lichtzerstreuung im kristallinischen Quarz und ihre Temperaturabhängigkeit. Z. Für Phys. 1927, 43 (9–10), 773–778. DOI:10.1007/BF01397337

[3] Boltzmann, L. Weitere Studien Über Das Wärmegleichgewicht Unter Gasmolekülen. Sitzungsberichte Akad. Wiss. Zu Wien 76, 373–435.

[4] Herzberg, G.; Herzberg, G. Infrared and Raman Spectra of Polyatomic Molecules, 22. print.; Molecular spectra and molecular structure / by Gerhard Herzberg; van Nostrand: New York, 1987.

OMNIS NIRS: An efficiency boost for your laboratory

Click here to download

This White Paper presents the basics and benefits of NIR spectroscopy and discusses applications from the petrochemical, food and beverage, semiconductor, and pharmaceutical industries to demonstrate the unique functionalities of OMNIS NIRS in different situations.

Author
Rühl

Dr. Nicolas Rühl

Product Manager Spectroscopy
Metrohm International Headquarters, Herisau, Switzerland

Contact