1 Introduction

The background-oriented schlieren (BOS) technique proposed by Meier (Meier 2002) enables quantitative density measurements of flow fields using computer-aided image analysis. This technique has many advantages, and it can be used in a wide range of applications such as supersonic wind-tunnel measurement with scale models, underwater shockwaves, real-scale model measurement, and droplets caused by coughing when wearing a face mask (Raffel 2015; Elsinga et al. 2004; Bang and Lee 2013; Venkatakrishnan and Meier 2004; Nicolas et al. 2017; Ichihara et al. 2022; Yamamoto et al. 2022, 2015; Shimazaki et al. 2022; Hayasaka et al. 2016; Heineck et al. 2019; Hill and Haering 2017; Bauknecht et al. 2015; Mizukaki et al. 2014; Viola et al. 2021). However, the conventional BOS technique exhibits certain drawbacks, such as a lower measurement sensitivity than the conventional schlieren technique, and the measured phenomena are blurred owing to diverging light. Generally, the camera has to focus on the background image behind the target and, therefore, blurring is unavoidable. To reduce the blur, the aperture of the lens is usually adjusted to correspond to a larger f-number, and the background is placed close to the target so that they are both within the depth of field as much as possible (Leopold et al. 2006; Kaneko et al. 2021). As a result, the displacement of the background image becomes smaller (i.e., lb in Eq. (1) is small), but this lowers the sensitivity. Several approaches have been reported to overcome this trade-off between blurring and sensitivity. For example, Leopold et al. proposed the colored background-oriented schlieren (CBOS) technique (Sourgen et al. 2012), and then they employ background projection to keep the background close to the model in the test section of a wind tunnel (Leopold et al. 2012). This places the background within the depth of field of a normal camera lens. In addition, Ota et al. introduced a telecentric optical system to the BOS technique to improve the spatial resolution by collecting parallel projections of the background through the test section (Ota et al. 2015b). Furthermore, Ota et al. proposed the colored-grid background-oriented schlieren (CGBOS) technique which uses a colored-grid background, and the technique has been applied to some experiments (Ota et al. 2011, 2015a). Meier et al. proposed a BOS imaging technique that uses a conventional BOS set-up, a negative focus distance mode, a double-pass mode, and an in-focus target mode with laser speckle illumination (Meier and Roesgen 2013). The advantage of this technique is that there is no loss of sensitivity. However, the laser speckle is very sensitive, and the speckle pattern can be unsteady owing to temperature changes in the laser oscillator or slight deviations of the speckle screen. In addition, it is difficult to obtain sufficient brightness for high-speed imaging. Therefore, it is difficult to apply this technique to practical tests, such as wind-tunnel experiments.

In this study, to overcome the drawbacks of the conventional BOS technique and develop a practical visualization technique, a double-pass BOS (DPBOS) imaging system using a digital projector was introduced. The theoretical model and experimental results are presented below.

2 Optical set-up of DPBOS

Figure 1 shows the conventional BOS set-up (Venkatakrishnan and Meier 2004). If the refractive index of the medium between the background and the camera is changed, the background image is captured at the image sensor of the digital camera with a displacement of ∆h. This displacement occurs because of the refraction of light passing through the schlieren object (using density gradients), as shown by the solid line in the figure. The relationship between the displacement of the background ∆h and the refractive index n is expressed by

$$\Delta h = \frac{{l_{b} f}}{{l_{b} + l_{c} - f}}\frac{1}{{n_{0} }}\mathop \int \limits_{{l_{b} - \Delta l_{b} }}^{{l_{b} + \Delta l_{b} }} \frac{\partial n}{{\partial r\left( {x,y} \right)}}dl,$$
(1)

where lb is the distance between the background and the schlieren object, lc is the distance between the camera and the schlieren object, f is the focal length of the camera, and n0 is the reference refractive index (Meier 2002). The relationship between the density ρ and the refractive index n is given by the Gladstone–Dale equation, as follows:

$$n = \rho G + 1,$$
(2)

where G is the Gladstone–Dale constant. In general, the camera should focus on the background, but this results in the measured phenomena appearing blurry, as mentioned above. The displacement of the background is usually as small as a few pixels on the sensor of the digital camera. This is one of the reasons why the sensitivity of the BOS is not higher than that of the conventional schlieren method, which uses the parallel light and corresponds to the case in which lb is infinite. To increase the sensitivity of the conventional schlieren technique, the double-pass schlieren method (Payri et al. 2017) has been widely used in various applications. The double-pass schlieren method can measure the displacement with increased sensitivity because the distance between the schlieren object and the image sensor is larger than that in the conventional schlieren method. Therefore, in this study, the DPBOS was developed to increase the sensitivity of the conventional BOS.

Fig. 1
figure 1

Optical set-up for the conventional BOS

The optical set-up of the DPBOS is shown in Fig. 2. The colored-grid background pattern is projected parallel to the test section (schlieren object) from a projector using a telecentric optical set-up consisting of a lens and a concave mirror (with focal length f1). A prism was installed to observe the schlieren object using a digital camera from the same optical axis as that of the background projection. The optical set-up of the camera was also telecentric, consisting of a concave mirror and a camera lens (with focal length f2).

Fig. 2
figure 2

Optical set-up for the DPBOS

Figure 3 shows the geometry of the DPBOS. The parallel projected background pattern is focused on the initial position. The displacement at this position, \(\Delta {y}{\prime}\), is expressed as follows:

$$\Delta y^{\prime} = - l_{b} \frac{1}{{n_{0} }}\mathop \int \limits_{{l_{b} - \Delta l_{b} }}^{{l_{b} + \Delta l_{b} }} \frac{\partial n}{{\partial r\left( {x,y} \right)}}dl.$$
(3)
Fig. 3
figure 3

Geometry of the DPBOS

The displacement obtained with the DPBOS is opposite to that obtained by conventional BOS measurement.

When a mirror is installed at a distance lm from the initial position, the projected background is reflected at the mirror and focused on to a position at a distance of 2 lm, as shown in Fig. 3. At the same time, the digital camera focuses on the focal position through a prism, and the projected background pattern can be captured as a real image using a telecentric BOS set-up (Ota et al. 2015b).

The displacement of the projected background pattern obtained with the telecentric BOS, \(\Delta {y}^{{\prime}{\prime}}\), can be expressed as

$$\Delta y^{\prime\prime} = \left( {l_{b} - 2l_{m} } \right)\frac{1}{{n_{0} }}\mathop \int \limits_{{l_{b} - \Delta l_{b} }}^{{l_{b} + \Delta l_{b} }} \frac{\partial n}{{\partial r\left( {x,y} \right)}}dl$$
(4)

Hence, the total displacement ∆y obtained with the DPBOS is

$$\Delta y = \Delta y^{\prime} + \Delta y^{\prime\prime} = - 2l_{m} \frac{1}{{n_{0} }}\mathop \int \limits_{{l_{b} - \Delta l_{b} }}^{{l_{b} + \Delta l_{b} }} \frac{\partial n}{{\partial r\left( {x,y} \right)}}dl,$$
(5)

or

$$\Delta y = - \left( {l_{b} + c} \right)\frac{1}{{n_{0} }}\mathop \int \limits_{{l_{b} - \Delta l_{b} }}^{{l_{b} + \Delta l_{b} }} \frac{\partial n}{{\partial r\left( {x,y} \right)}}dl,{}$$
(6)

where c denotes the distance from the schlieren object to the focal plane of the projected background. The distance c is positive when the focal-plane position is located between the schlieren object and flat mirror 1. Conversely, c is negative when the focal-plane position is located between the schlieren object and flat mirror 2. The displacement at the image sensor of the camera, which is obtained via the magnitude of the telecentric optical system (Ota et al. 2015b), can be expressed as

$$\Delta h = \frac{{f_{2} }}{{f_{1} }}\Delta y,{}$$
(7)

where f1 is the focal length of the concave mirror and f2 is the focal length of the camera lens. Therefore, the final expression for the displacement at the image sensor of the camera is given as follows:

$$\Delta h = - \left( {l_{b} + c} \right)\frac{{f_{2} }}{{f_{1} }}\frac{1}{{n_{0} }}\mathop \int \limits_{{l_{b} - \Delta l_{b} }}^{{l_{b} + \Delta l_{b} }} \frac{\partial n}{{\partial r\left( {x,y} \right)}}dl.$$
(8)

The depth of field of the telecentric BOS set-up Δl is given as (Ota et al. 2015b)

$$\Delta l = 2{\updelta }\frac{F}{M} = 2{\updelta }\frac{{f_{1} /d}}{{f_{2} /f_{1} }},$$
(9)

where F denotes the f-number of the optical system, M is the magnitude of the telecentric BOS set-up, δ is the circle of the confusion diameter, and d is the diameter of the aperture.

3 Experiments

3.1 Preliminary experimental set-up and condition

The experimental set-up for the DPBOS measurement is shown in Fig. 4. The colored-grid background pattern consisting of horizontal green stripes and vertical red stripes was projected from the digital projector (Epson, EH-TW5200) with an achromatic doublet lens (Edmond, 63–701, focal length = 100 mm). This light was then passed through the schlieren object, reflected by a flat mirror 2, and passed through the schlieren object again. The projected background pattern was captured through a prism using a digital camera. A normal digital camera (Canon EOS Kiss Digital X3, 4752 × 3168 pixels CMOS sensor) with a telephoto lens (SIGMA 70–300 mm F4-5.6 DG MACRO) was used to record the projected background.

Fig. 4
figure 4

Experimental set-up of the DPBOS measurement

The focal lengths of the concave mirror and of the camera lens were f1 = 1000 mm and f2 = 300 mm, respectively. An aperture of 5 mm was placed at the focal positions of both the concave mirror and the achromatic doublet lens. The distance from the concave mirror to the camera lens (f1 + f2) was fixed at 1300 mm. Using Eq. (9) and the f-number of the optical system (f = f1/d = 200), the calculated depth of field Δl for the telecentric optical set-up of the camera was 21.9 mm, with a circle of confusion diameter of δ = 0.0328 mm (Ota et al. 2015b). In this study, a wedge plate with a wedge angle of 1º (SIGUMAKOKI, WSB-30C05-10–1, material: BK7) was used as a schlieren object to evaluate the basic equation of the proposed DPBOS (Eq. (8)). An outline of the theoretical displacement of the proposed DPBOS is shown in Fig. 5. The projected background passed through a wedge at a refraction angle ε1. Then, the projected background was reflected at a flat mirror and was focused on to the position marked with an asterisk (Fig. 5). The upper part of the figure shows the case for which 2 lm < lb. This case is the same as that shown in Fig. 3. The lower part of the figure shows the case for which \(2{l}_{m}\geqq {l}_{b}\). In this case, the projected background passed through the wedge twice, was refracted at an angle \({\varepsilon }_{2}\) and was then focused on to the focal position. The thickness of the wedge plate was 5 mm at the thinnest point and was sufficiently small compared to lb. Therefore, the thickness of the wedge was neglected in this study. Using Snell’s law and a BK7 refractive index of 1.517, the refractive indices \({\varepsilon }_{1}\) and \({\varepsilon }_{2}\) were calculated to be 0.519° and 1.038°, respectively.

Fig. 5
figure 5

Outline of theoretical displacement Δh

In this experiment, the distance between the schlieren object and the initial position lb was set to 350, 300, and 250 mm in three separate trials. The experimental conditions are listed in Table 1. The experimental procedure for adjusting the optical system when lb = 350 mm was as follows. First, the projected background was focused on to the initial position by adjusting the position of the projector lens. Second, a flat mirror was placed at this position. This was the case for lm = 0 mm. The flat mirror was moved 25 mm toward the wedge plate according to the experimental conditions. The focal plane was moved 50 mm when flat mirror 2 was moved 25 mm. Therefore, this DPBOS set-up was in focus mode when lm = 175 mm.

Table 1 Experimental conditions

An example of the DPBOS image of the wedge plate for the case in which lb = 250 mm and lm = 75 mm is shown in Fig. 6a. In this figure, both the wedge plate and background image are in focus, and they are captured without any blurs, which is the advantage of the DPBOS technique. The quantitative displacement distribution is shown in Fig. 6b. The displacement inside the wedge plate was almost constant, at approximately 70 pixels.

Fig. 6
figure 6

Example of a DPBOS image (left) and its displacement (right) for lb = 250 mm and lm = 75 mm

The plot in Fig. 7 shows the experimental displacement data (Δh) and the theoretical displacement (Δht) predicted by Snell’s law as a function of lm. The dashed and dot-dashed lines in the figure also indicate the theoretical displacement values that incorporate the half length of depth of field Δl/2 in Eq. (9). This is because the depth of field Δl by Eq. (9) considers both negative and positive direction around initial position O in Fig. 5. The figure clearly demonstrates that Δh increases linearly with lm. However, the experimental data were systematically lower than the theoretical values. This is because the focus of the camera lens was adjusted from a short range to a range of infinity. Nevertheless, the experimental results were distributed within the theoretical displacement values that incorporated the depth of field, and therefore, the experimental displacement data are in good agreement with the theoretical displacement. Furthermore, a wedge plate with a refraction angle of 0.519° was used for validation; in the actual case, the refraction angle becomes smaller by an order of magnitude, e.g., a candle plume of ~ 0.06° (Kafri 1980). This error would be too small to accurately evaluate with the image sensor of camera. Thus, the displacement of the DPBOS set-up can be obtained with sufficient accuracy using Eq. (8).

Fig. 7
figure 7

Experimental (circles, triangles, and squares) and theoretical (lines) displacement data

3.2 Measurement of the density field in the vicinity of a heat sink

The advantage of the DPBOS technique is that it is possible to set both the focal position of the projected background image and the camera simultaneously, and its position can be set at any location in the observation area. Therefore, it is possible to obtain a suitable displacement for image processing while focusing on both the background image and the measurement target. For a small density-change case, e.g., in a suction-type wind-tunnel test, it is possible to obtain a larger displacement by setting the focal position of the projected background image on the + c side (Fig. 5, 2lm ≥ lb) to obtain a larger displacement. However, the focal length of the telecentric optical system on the camera side is limited to the vicinity of the focal position of the first lens (concave mirror in this report); this should be noted when setting up the DPBOS optical system.

An aluminum heat sink (fin height H × distance D × thickness t, 16 × 25 × 1 mm3, number of fins nf = 4) was installed at the position of the wedge plate in Fig. 4 for verification. Figure 8a shows a DPBOS image taken with lb and lm set to 250 mm and 125 mm, respectively. The background image is a random dot pattern commonly used in the conventional BOS method. A pseudo-color image of the horizontal displacement obtained by OpenPIV (Liberzon et al. 2009) with an interrogation window size of 16 × 16 pixels with 50% overlap is shown in Fig. 8b. For comparison, a conventional BOS image taken with lb = 250 mm, lc = 1050 mm, and f = 300 mm, where the magnitude factor in Eq. (1) is set to be equal to that of DPBOS, is shown in Fig. 8c. The f-number of the camera is set to 29 to increase the focal depth. The background image was printed on to a transparent sheet and illuminated with a flashlight from the rear. It is clearly seen that using conventional BOS measurement, the camera is focused on the background image, and the heat sink located in the foreground is blurred and its detailed shape cannot be recognized. In contrast, the heat sink is accurately captured with DPBOS as shown in Fig. 8a. As discussed in previous reports (Ota et al. 2015b; Gojani et al. 2013), the blur can be revealed by a cone diameter of light ray at the position of aluminum heat sink. The cone diameter of DPBOS and conventional BOS is 0.11 mm and 17.3 mm, respectively. It means that the blur effect of DPBOS is extremely small compared to conventional BOS.

Fig. 8
figure 8

Measurement of the density field in the vicinity of a heat sink

Figure 8e shows the displacement at the red line in the DPBOS and conventional BOS images. The red line is located 13 mm from the bottom of the heat sink; the vertical (black) dashed lines in Fig. 8e indicate the heat-sink surface. Comparing the pseudo-color of displacement in Fig. 8b and d shows that the overall density change can be captured even with conventional BOS, but with DPBOS it is possible to observe the density change on the heat-sink surface in more detail, as shown in Fig. 8e.

In order to evaluate the proposed DPBOS measurement, the resultant temperature distributions in the normal direction on the right-hand side surface of the heat sink, obtained from DPBOS and conventional BOS, are compared with the theoretical temperature distribution in the boundary layer of laminar-free convection around the plate. First, the density-gradient distribution was calculated from Eqs. (1) and (8) using the displacement data obtained by each BOS method. Second, the density ratio (ρ / ρ0) was calculated by integration of the density gradient. Finally, the temperature distribution was obtained from the equation of state at atmospheric conditions. The initial density, ρ0, was set to 1.205 kg/m3 at room temperature (293 K), and the Gladstone–Dale constant was 2.226 × 10–4. The theoretical value was calculated from the dimensionless temperature H(η) of Eq. (10). The similarity parameter η and the Grashof number Gr are given by Eqs. (11) and (12), respectively, where x is the perpendicular distance from the plate surface, y is distance from the bottom of the heat sink, g is the gravitational acceleration, Tp is the heat-sink surface temperature, T is the free-stream air temperature, ν is the kinematic viscosity of air, and β is the coefficient of thermal expansion of air (Hargather and Settles 2012). The theoretical temperature distribution around the heat sink in air at the position of y = 13 mm was calculated from table of Ostrach (Ostrach 1952), with the Prandtl number Pr = 0.72. The surface temperature of the heat sink Tp was set to 383 K, and it was monitored by infrared camera during the experiments.

$$H = \frac{{T - T_{\infty } }}{{T_{p} - T_{\infty } }}$$
(10)
$$\eta = \left( {\frac{{{\text{Gr}}}}{4}} \right)^{1/4} \frac{x}{y}$$
(11)
$${\text{Gr}} = \frac{{g\beta (T_{p} - T_{\infty } )}}{{\nu^{2} }}$$
(12)

Figure 8f shows the resultant temperature distribution. The DPBOS result shows good agreement with the theoretical value, while the estimated temperature from the conventional BOS measurement was lower than the theoretical value, especially in the region where the distance from the wall was less than 3 mm. This is considered to be the effect of the blur owing to defocus. The temperature near the heat-sink surface was 350 K for the conventional BOS and 396 K for the DPBOS, with errors of 9% and 3%, respectively. The estimated temperature was 13 K higher for the DPBOS result, but this is due to the use of a random dot pattern in the background image and the influence of the interrogation window size in calculating the displacement around the surface. The proposed method clearly shows the advantage of DPBOS over BOS in overcoming the defocus problem and achieving high-accuracy measurements.

4 Conclusion

To overcome the drawbacks of the conventional BOS technique, a DPBOS method, using a digital projector, is proposed and its basic formula is confirmed. In the conventional BOS technique, if lb is increased to increase the displacement, the influence of blur becomes large, but in the proposed DPBOS technique, even if lb is large, measurement can be performed, while the camera focuses on the measurement target, with high accuracy and sensitivity. Since the focal position of the projected background image and the camera can be set to any position in the test field, it is expected that the proposed DPBOS can be applied to various experiments. The disadvantages of the DPBOS are that the measurable size is limited by the diameter of the optical components, and the optical system is rather complicated. Furthermore, some efforts are required to set up the system compared to conventional BOS. However, regarding experiments in wind tunnels, the schlieren optical system suitable for the size of the wind tunnel has been generally installed; quantitative density measurement with high accuracy and sensitivity can be achieved by assembling DPBOS set-up from these optical systems. Using a digital projector means that high-brightness photography can be achieved at low cost, which is very advantageous for measurements made using a high-speed camera. Furthermore, it is possible to realize quantitative density measurement in the flow field, including the area in the vicinity of the model surface, which is not possible using the conventional BOS technique.