1 Introduction

The pendant drop method is one of the most widely used techniques for determining surface tension and interfacial tension (IFT) [1,2,3,4,5]. It has the advantages of great accuracy and flexibility and is capable of measuring both static and dynamic IFTs over a wide range of values under either ambient conditions or high temperature, high pressure conditions [6,7,8,9,10,11]. Axisymmetric drop shape analysis (ADSA) is a powerful method for determining IFT based on the drop or bubble shape. The general procedure of ADSA is detection of the drop profile and numerical adjustment of the IFT such that the theoretical shape generated by the Young–Laplace equation matches the experimental drop profile [12, 13].

The surface or interfacial tension γ is obtained from the relation

$$\gamma = {{\Delta \rho gb^{2} } \mathord{\left/ {\vphantom {{\Delta \rho gb^{2} } \beta }} \right. \kern-\nulldelimiterspace} \beta },$$
(1)

where ∆ρ is the difference between the densities of the two phases, g is the gravitational acceleration, b is the radius of curvature at the apex of the drop, and β is the Bond number. Both b and β are determined through ASDA.

Prior to the measurement, a calibration is needed to determine the relation between the object and image size in the optical system, expressed practically as, e.g. pixels per mm. This is accomplished by imaging an object of known size [13,14,15]. Equation (1) indicates that the IFT is in a quadratic relation with the pixel size and so that relative errors in the pixel size are doubled in the measured surface or interfacial tension [14, 16]. Refractive index changes in the optical path are one of the common causes of calibration error.

One approach is to include a suitable calibration standard within the interfacial tension view cell at the same distance from the camera as the drop to be imaged. Then an in situ calibration can be performed with the exact same optical path as used in the subsequent IFT measurement. The capillary used to create the pendant drop can serve this purpose but it is typically considerably smaller in diameter than the pendant drop, leading to high relative uncertainty, and it only serves to determine the calibration in one direction [17,18,19], leaving an uncertainty in the aspect ratio. Song and Springer [20] found that errors in the aspect ratio can have a large effect on the measured IFT. For example, a 1 % error in the aspect ratio resulted in a 5 % error in the IFT when the Bond number was 0.45. Moreover, repetitive calibration processes at each thermodynamic state point are tedious and time-consuming.

In practice, many researchers carry out calibrations with a sphere of precisely known diameter (e.g. 4 mm), which has the advantage of determining the pixel size in two dimensions and hence also the aspect ratio [9, 21, 22]. Typically, this is done by placing the calibration sphere in the cell filled with ambient air, even when a different bulk phases will be present during the subsequent measurements. Closed interfacial tension cells use optical windows to allow the drop to be imaged and if these are replaced between calibration and measurement then there is another change in the optical path affecting the effective pixel size. In this paper, we present an elementary optical analysis that can account for these changes accurately leading to a simplified and less time-consuming calibration strategy. The same analysis can be used to estimate the contribution of uncertainties in the refractive indices of material in the optical path to the overall uncertainty of the IFT measurement.

Apart from pendant drop tensiometry, the present analysis may find application in other measurement techniques relying on optical imaging. For example, measurements of the viscosity and surface tension of liquid metals by the oscillating drop technique using electromagnetic or acoustic levitation or a microgravity environment [23, 24] may be affected by refractive index changes. Measurements of the density and thermal expansion coefficient of refractory materials in molten and solid phases via video-image processing of a levitated sample [25, 26] could be similarly influenced.

2 Optical Model

In the pendant drop method, a drop of the more-dense fluid is created at the end of a vertical capillary in a thermostatic view cell filled with the less-dense phase.

Alternatively, an inverse pendant drop of the less-dense fluid is created at the end of an inverted vertical capillary while the view cell is filled with the more-dense phase. The analysis of the two approaches is essentially the same. A source light is placed to one end of the view cell to illuminate the drop from behind and a CCD camera is placed at the other end. An image of the drop is captured by the CCD camera and analyzed by ADSA to determine the IFT between the two fluids according to Eq. (1). In this work, we developed an optical model to describe this process and investigated the effect of the refraction properties on the IFT measurement results.

Figure 1a shows the geometry of a typical interfacial tension setup for pendant drop tensiometry. AB is the object of interest, either the calibration tool or the pendant drop, with height h0. The blue rectangle represents the bulk phase in the view cell, with xc being the half-length of the view cell. The grey bars on either side of the object represent the windows with thickness xw. Light from the object passes sequentially through the bulk phase, the window and the air before reaching the lens, of focal length f, which generates a sharp image on the backplane of the CCD.

Fig. 1
figure 1

(a) Geometrical description of a typical pendant drop setup for IFT measurements. (b) Detailed light path from the object through the bulk phase in the view cell, the window, air and the lens. Dimensions: h0, height of the object; xc, half-length of the view cell; xw, thickness of the window; u, distance between the object and the lens; f, focal length of the lens; v, distance between the lens and the CCD backplane; hi, height of the image; x, distance between the hypothetic object and the window-air interface; u′, distance between the hypothetical object and the lens; θ1, angle of incidence at the bulk phase-window interface; θ2, the refraction angle at the bulk phase-window interface; θ3, the refraction angle at the window-air interface

The detailed light path is shown in Fig. 1b. Light from point A is refracted at the bulk phase-window interface with angle of incidence θ1 and angle of refraction θ2. The light is refracted again at the window-air interface, with angle of incidence θ2 and angle of refraction θ3. Point H is the incidence point on the window-air interface. Line AE is parallel to the optical axis. The extension of line OH intersects line AE at point A′. It can be assumed that there is a hypothetic object A′B′, the image of which on the CCD backplane is CD.

According to Snell’s law, the angles of incidence and refraction at the bulk phase-window interface and the window-air interface have the following relationships:

$$n_{{\text{b}}} \sin \theta_{1} = n_{{\text{w}}} \sin \theta_{2} ,$$
(2)
$$n_{{\text{w}}} \sin \theta_{2} = n_{{\text{a}}} \sin \theta_{3} ,$$
(3)

where nw, na and nb are the refractive indices of the window, air and the bulk phase inside the cell, respectively.

In a typical interfacial tension measurement setup, the size of the pendant drop or the calibration tool is of the order of millimeters, while length of the optical axis is of meter scale. Therefore, the angles of incidence and refraction are small and we can approximate \(\sin \theta_{i} \approx \tan \theta_{i}\), where i = 1, 2, 3. The following geometric relationships can also be obtained to facilitate the solution of the model:

$$x_{{\text{c}}} \tan \theta_{1} + x_{{\text{w}}} \tan \theta_{2} = x\tan \theta_{3}$$
(4)

The distance between the hypothetic object A′B′ and the lens is

$$u^{\prime} = u - x_{{\text{c}}} - x_{{\text{w}}} + x$$
(5)

where u′ is the hypothetic object distance and u is the real object distance. According to the Gaussian lens formula, the distance between the lens and the image can be determined as follows:

$$\frac{1}{f} = \frac{1}{{u^{\prime}}} + \frac{1}{v},$$
(6)

where f is the focal length of the CCD camera and v is the image distance. Consequently, the height of the image hi can be determined with the geometric relationship:

$$h_{{\text{i}}} = h_{0} \cdot \frac{v}{{u^{\prime}}},$$
(7)

where h0 denotes the size of the object.

Prior to calibration, the primary lens is moved relative to the projection plane to obtain a sharp image. Once the calibration is completed, the lens should not be moved. However, if the refractive properties of any of the optical elements (the bulk phase in the view cell, the window or the lens) are changed, the focal plane will no longer fall on the CCD backplane. The size of the image created on the CCD backplane is then not the theoretical image size but the projection of the theoretical image onto the sensor, as shown in Fig. 2. The height hi′ of the real image captured by the camera is given by

$$h_{{\text{i}}}^{\prime } = h_{{\text{i}}} \left( {{{v^{{{\text{cal}}}} } \mathord{\left/ {\vphantom {{v^{{{\text{cal}}}} } {v^{\exp } }}} \right. \kern-\nulldelimiterspace} {v^{\exp } }}} \right)$$
(8)

where hi is the theoretical image height, vcal is the image distance during the calibration, i.e. the distance between the lens and the CCD backplane, and vexp is the theoretical image distance during the experiment.

Fig. 2
figure 2

Projection of the theoretical image on the CCD camera sensor

The correct IFT γ should be calculated with the effective pixel length under the experimental conditions, while the value γ0 obtained using the pixel length under the calibration conditions requires correction. Equation (1) shows that the IFT is in a quadratic relationship with length and therefore the corrected IFT can be obtained from the relation

$$\gamma = \gamma_{0} \left( {{{l^{\exp } } \mathord{\left/ {\vphantom {{l^{\exp } } {l^{{{\text{cal}}}} }}} \right. \kern-\nulldelimiterspace} {l^{{{\text{cal}}}} }}} \right)^{2}$$
(9)

where l is pixel length and superscripts ‘exp’ and ‘cal’ denote values under experimental and calibration conditions, respectively. In the calibration, the pixel length is determined from the size of the calibration tool and the number of pixels its image occupies. For the same calibration tool, the calculated pixel length is inversely proportional to the number of pixels, i.e., inversely proportional to the size of the image. Therefore, the corrected IFT can be given by

$$\gamma = \gamma_{0} \left( {{{h^{\prime{\text{cal}}}_{{\text{i}}}}/{h^{\prime{\text{exp}}}_{{\text{i}}}}}} \right)^{2}$$
(10)

To sum up, the correction of the IFT due to refractive index change can be expressed as

$$\gamma = \gamma^{\exp } \cdot \left[ {\frac{{u + \left( {{{n_{{\text{a}}} } \mathord{\left/ {\vphantom {{n_{{\text{a}}} } {n_{{\text{b}}}^{\exp } }}} \right. \kern-\nulldelimiterspace} {n_{{\text{b}}}^{\exp } }} - 1} \right)x_{{\text{c}}} + \left( {{{n_{{\text{a}}} } \mathord{\left/ {\vphantom {{n_{{\text{a}}} } {n_{{\text{w}}}^{\exp } }}} \right. \kern-\nulldelimiterspace} {n_{{\text{w}}}^{\exp } }} - 1} \right)x_{{\text{w}}} }}{{u + \left( {{{n_{{\text{a}}} } \mathord{\left/ {\vphantom {{n_{{\text{a}}} } {n_{{\text{b}}}^{{{\text{cal}}}} }}} \right. \kern-\nulldelimiterspace} {n_{{\text{b}}}^{{{\text{cal}}}} }} - 1} \right)x_{{\text{c}}} + \left( {{{n_{{\text{a}}} } \mathord{\left/ {\vphantom {{n_{{\text{a}}} } {n_{{\text{w}}}^{{{\text{cal}}}} }}} \right. \kern-\nulldelimiterspace} {n_{{\text{w}}}^{{{\text{cal}}}} }} - 1} \right)x_{{\text{w}}} }}} \right]^{2} .$$
(11)

If the window is removed during calibration, nwair = na.

3 Experimental Section

To verify the optical model, we calibrated the tensiometer with a stainless-steel sphere of known diameter in air, in water and in air without the viewing window. IFTs between DI water and decane were also measured with the calibration parameters obtained in air and the calibration parameters obtained in water.

3.1 Materials

Table 1 details the fluids studied.

Table 1 Description of the materials used, where w denotes mass fraction and ρe denotes electrical resistivity

Prior to the measurement, the deionized water was degassed under vacuum for 20 min and decane was passed through a 500 mm long chromatography column filled with activated alumina powder (100 mesh) to remove the surface-active impurities, which are believed to cause the IFT to drift downwards over time [27, 28].

3.2 Methodology

A well-established pendant drop tensiometer (Ramé-Hart Instrument Co.) was used to carry out the IFT measurement. The main component is a thermostatic view cell with sapphire windows fitted at each end. A diffuse LED light source (CREE) was employed to illuminate the pendant drop while a monochrome CCD camera (Ramé-Hart Instrument Co.) was employed to capture the drop image. Further details of this apparatus can be found elsewhere [29]. The standard uncertainty of the temperature measurement is 0.025 K and the standard uncertainty of the pressure measurement is 0.035 MPa.

The calibration tool, a high-precision stainless-steel ball provided by Ramé-Hart Instrument Co. was used to carry out the calibration of the tensiometer. The diameter of the sphere was (4.000 ± 0.001) mm. Calibration against a sphere was selected because it considers both the horizontal and the vertical directions. Calibrations were carried out under three conditions: (1) the view cell full of air and the viewing window removed; (2) the view cell full of air and the viewing windows installed; (3) the view cell full of water and the viewing window installed. The sapphire window closest to the CCD camera was first removed and the calibration tool was put inside the view cell at the place where the pendant drop is normally located. The light intensity and lens aperture were adjusted to obtain a sharp image with a well-defined profile. The software determined the equivalent pixel lengths Iz in the vertical direction and Ix in the horizontal direction for this first condition. The sapphire window that had been removed was then replaced and the pixel lengths Iz and Ix were recorded in this second condition. Finally, DI water was injected into the view cell until the calibration tool was fully submerged and the pixel lengths Iz and Ix were recorded in this third condition. All the three calibrations were carried out at ambient temperature of (295.21 ± 0.04) K.

To investigate the effect of the refractive index changes on IFT measurements, the IFT between decane and water was measured with the calibration parameters obtained both in water and in air with the window in place. The view cell was first filled with water. Decane was then slowly injected into the view cell through the capillary until a well-shaped inverse pendant drop was created at the tip of the capillary. The image of the pendant drop was captured by the camera every three seconds and analyzed by the image processing software Advanced DROPimage [Ramé-Hart Instrument Co.]. At least three drops were measured to evaluate the reproducibility of the measurement. The first measurement was implemented with the calibration parameters obtained in air and the second measurement was implemented with the calibration parameters obtained in water.

4 Results and Discussions

4.1 Verification of the Model with the Calibration Results

The calibration results obtained in each of the three configurations described above are reported in Table 2 and Fig. 3. The calibration in air without the viewing window in place had the largest pixel lengths, which were about 5.1 % larger than the pixel lengths calibrated in air with both windows and about 7.6 % larger than the pixel lengths calibrated in water. Since the image size is inversely proportional to the calibrated pixel length, the image of the calibration sphere in condition (2) is about 5.1 % larger than in condition (1), while that in condition (3) is about 7.6 % larger than in condition (1). This is illustrated by the captured images of the calibration sphere under the three conditions as shown in Fig. 4.

Table 2 Horizontal pixel length lx, vertical pixel length lz and the aspect ratio under three calibration conditions: (1) in air with the window closest to the lens removed; (2) in air with both windows; (3) in water with both windows
Fig. 3
figure 3

(a) Horizontal pixel length lx and vertical pixel length lz under three calibration conditions: (1) in air without the window closest to the lens; (2) in air with both windows; (3) in water with both windows. (b) The ratio of the pixel length under condition (1) to the pixel length under condition (i), i = 2, 3

Fig. 4
figure 4

Images of the calibration sphere under three calibration conditions: (1) in air without the window closest to the lens; (2) in air with both windows; (3) in water with both windows. Size (1) < size (2) < size (3)

The image size of the calibration sphere under different conditions can be predicted with the optical model proposed in Sect. 2. The basic parameters of the interfacial tension setup are listed in Table 3.

Table 3 Basic parameters of the interfacial tension setup

The refractive index of air under ambient conditions is 1.0003 [30], the refractive index of water under ambient conditions is 1.333 [31] and the refractive index of sapphire under ambient condition is 1.77 [32]. The predicted image size of the calibration sphere under condition (1), (2) and (3) are 53.0 %, 55.4 % and 57.0 % of the calibration sphere diameter, respectively. Figure 5 shows a comparison of the experimentally determined pixel size and the calculated pixel size in terms of the ratio of the pixel size under condition (1) to the pixel size under condition i, where i = 2, 3. It can be concluded that the modeling results are in good agreement with the experimental results, considering the uncertainty in the length measurement and the uncertainty in the drop edge detection.

Fig. 5
figure 5

Comparison of the experimentally determined ratio and the calculated ratio of the pixel length under condition (1) to the pixel length under condition i, where i = 2, 3

4.2 Verification of the Model with the Measured IFTs

In order to verify the optical model experimentally in terms of IFT, the calibration of the tensiometer was first carried out in air. After that, the IFT between decane and water was measured at T = 294.15 K and p = 0.1 MPa. The tensiometer was then calibrated in water, and the IFT between decane and water was measured again under the same experimental conditions.

The IFTs obtained with the calibration parameters in air was further corrected according to Eq. (11). Figure 6 shows a comparison among the IFTs between decane and water under the same experimental conditions but different calibration conditions. Compared with the IFT data reported by other authors in Table 4, both calibration in water and calibration in air followed by correction with the optical model gave good results.

Fig. 6
figure 6

IFTs between decane and water at T = 294 K, p = 0.1 MPa. ○, calibrated in air; □, calibrated in air and corrected by Eq. (11); △, calibrated in water

Table 4 IFT between decane and water reported in the literatures

4.3 Effect of the Refractive Index on the Measured IFTs

We consider the basic parameters of the model presented in Sect. 4.1 to investigate the effect of refractive index on IFT measurements. In the following case studies, we assume that the calibration is carried out under ambient conditions when the bulk phase inside the view cell is air.

If the refractive index of the bulk phase in the view cell is different from that of the bulk phase during calibration, measurement error will occur. Figure 7 shows the relative error of the IFT as a function of the refractive index of the experimental bulk phase in the view cell.

Fig. 7
figure 7

Relative error of the IFT as a function of refractive index nmedia of the bulk phase, where γm denotes the measured IFT and γ0 denotes the actual IFT

Table 5 lists the refractive indices of some common materials and the relative error of the measured IFT if the calibration was carried out in air. There are substantial measurement errors when the bulk phase in the view cell is a liquid as the refractive indices of liquid and air are very different. Therefore, either the calibration condition has to be the same with the experimental condition or a correction has to be applied to the measured IFTs.

Table 5 Refractive indices of some common materials at T = 298.15 K and p = 0.1 MPa and the relative error of the measured IFT when calibration was carried out in ambient air

Another error would be to calibrate without the window but then make the measurements with it replaced. In the case of a sapphire window with the thickness of 22 mm, the measured IFTs will be higher than the actual values with a relative error of 9.3 %.

In addition, different thermodynamic conditions between the calibration and the experimental states can lead to measurement error, especially for measurements under high pressure or supercritical states. Figure 8 shows the relative error of the measured IFT with a bulk phase of N2 as a function of pressure when the calibration is conducted at ambient pressure. The refractive index data of N2 were taken from [43]. The results indicate that the measurement error increases with increasing experimental pressure. At 28.7 MPa, the measurement error is 1.4 %. Figure 9 shows a similar analysis for the case in which the bulk phase is CO2 at different temperatures such that gas, liquid and supercritical states occur. The refractive index data of CO2 were taken from [44]. The relative error increases with increasing pressure and decreases with increasing temperature, essentially reflecting the behavior of the density. For example, in the saturated liquid at a temperature of 298.15 K, the relative error is 3.4 %.

Fig. 8
figure 8

Relative error of the measured IFT with the bulk phase of N2 as a function of the pressure at a temperature of 323.15 K, where γm denotes the measured IFT and γ0 denotes the actual IFT

Fig. 9
figure 9

Relative error of the measured IFT with the bulk phase of CO2 as a function of pressure at different temperatures, where γm denotes the measured IFT and γ0 denotes the actual IFT

From the preceding discussions, it can be concluded that either the calibration should be implemented under the same conditions and with the same bulk media as in the subsequent experiments or a correction should be applied. With the proposed optical model, corrections can be calculated accurately and tedious calibration work at each thermodynamic state point can be avoided. Only one calibration in air under ambient conditions is needed, while validation can be achieved in situ at any state point by imaging the capillary tip. The refractive index of the experimental bulk phase inside the view cell can either be obtained from the literature or be calculated from the Lorentz–Lorenz equation:

$$\frac{{n^{2} - 1}}{{n^{2} + 2}} = \frac{{4\pi N_{{\text{A}}} \alpha }}{{3V_{{\text{m}}} }}.$$
(12)

Here, n is the refractive index of the substance, NA is Avogadro’s constant, α is the molecular polarizability, and Vm is the molar volume.

5 Conclusions

An optical model is proposed to quantify the effect of refractive index changes on the measurement of IFT by pendant drop tensiometry. The model was validated experimentally by determining the image pixel length under three different calibration conditions. The experimentally determined image size in air with both windows is 5.1 % larger than that in air without a window between the camera and the object, while the image size obtained in water with both windows is 7.6 % larger than that in air with the window closest to the camera removed. In comparison, the predicted changes are 4.6 % and 7.6 %, respectively. The model was further verified by the measured IFT between decane and water. The IFT with the calibration parameters obtained in water and the calibration parameters obtained in air, corrected according to the model, are in good agreement with the reference data, while the IFT obtained with the calibration parameters in air without any correction deviate significantly from the reference data.

Changes in the refractive index of the bulk phase, for example as a result of high pressure or supercritical states, can also significantly influence result when the calibration is implemented under the ambient condition. Nevertheless, the proposed model can be applied to correct the measurement results reliably and avoid the need for repetitive and complex calibration work. The uncertainty of the bulk media refractive index can be used to estimate the uncertainty of the correction.