In most cases off-axis interferometric optical setups used for digital holography [1, 2] use flat mirrors [3] to split and guide the beams to the distal [4] detection plane. In the case of terahertz radiation, the sources typically emit highly divergent beams, which additionally need to be collimated with expensive parabolic off-axis mirrors [5], that also induce geometrical aberrations [6, 7], which increase the errors in phase measurements [8]. With wavelengths in the range of millimeters, the apertures and volumes of the involved elements quickly grow to problematic values [9]. Moreover, such bulky reflective elements tend to disturb the state of polarization of the THz beams, affecting the contrast of interference patterns [10]. In this work we present the design and experimental use of 3D-printed transmissive diffractive optical elements [11] (DOE) allowing polarization-maintained, high-contrast interference in off-axis THz digital holography.

The experimental setup is depicted in Fig. 1. The 180-mW TeraSense source at 96.9 GHz (a) emits the divergent coherent THz beam via a 26-dB detachable horn antenna (b). The source uses a standard IMPATT diode. The divergent beam is collimated by the first side of the DOE#1 (c) with diffractive grooves representing the phase delay of a f = 2000 mm spherical lens. The relief depth was experimentally optimized to introduce 0–2π phase shifts at 0.1 THz, so as to ensure the maximal collimation efficiency with minimal zero-order light passing through the structure. The other side of DOE#1 (c) is a sawtooth diffractive grating with deliberately lowered modulation depth, so as to split the collimated beam into the object beam (ca. 80% of power) and into the off-axis reference beam (ca. 20% of power). Again, the depth of the relief was experimentally optimized so as to achieve this assumed division of power. Specifically, a series of gratings was printed with variable relief depths in 1% increments of the numerically obtained value. Then the optimal element was selected after direct and separate measurements of THz power of object and reference beams by averaging the non-saturated readouts from 100 central positions of the detector. The period of the grating was p = 11.25 mm, which is equivalent to a diffraction angle of α = 16° in the first order according to the classic equation:

Fig. 1
figure 1

Scheme of the experimental setup with real distances shown in millimeters. Angles and distances are not to scale for clarity

$$p\sin \alpha = m\lambda,$$
(1)

where m = 1 is the diffraction order and λ = 3.1 mm is the design wavelength. Such created object beam illuminates the first test transparency of a letter “E” (d). The secondary wavefronts emerging from (d) illuminate the second test transparency of a letter “C” (e) and then travel toward the detection plane, where the detector (f) is installed on a x-y-z scanning mount. The range of scanning is 400 mm × 300 mm with a step of 1.25 mm in both directions. The test transparencies were 80-mm-tall capital letters cut out of an aluminum foil and partly covered with 5-mm-thick 3D-printed slabs of polylactic acid (PLA) for phase measurements, seen as darker parts of the letters. The reference beam formed by (c) travels at an angle of 16° and illuminates the DOE#2 (g). The DOE#2 is a set of two sandwiched, fully modulated p = 11.3 mm sawtooth diffractive gratings, which diffract almost 100% of the reference beam toward the detection area at an angle of 2*16° = 32°. At the detection plane, the interference between two beam occurs and resultant interferometric fringes are recorded point by point in the x-y-z scanner carrying the LuviTera detector (f).

The crucial elements of the experimental setup are shown in Fig. 2. The DOEs (a) were designed in CAD software as first-order kinoforms [12, 13] and optimized numerically in an in-house wave optics software. The design was then exported to a STL file and printed in the SLS (selective laser sintering) technique in PA-12 material by a commercial entity to the final size of 360 mm × 360 mm. The used LuviTera detector (b) was the dipole, log-periodic THz_mini_wb model, featuring the active antenna area of ~ 1.3 mm2, the sensitivity of > 200 kV/W, and noise equivalent power (NEP) at < 20 pW/√Hz. The mechanical x-y-z scanner was constructed with linear translation stages, controlled by the custom-programmed Arduino device via RS-232 protocol.

Fig. 2
figure 2

Components of the experimental setup: a diffractive optical elements with halves of their cross-sections; b detector scanning system with a close-up of the detector on a rotating mount

The exemplary captured interferogram consisting 160 × 320 samples is shown in Fig. 3 (a). The high contrast of visible fringes proves that the optical path difference of the two THz beams was smaller than the coherence length of the used source. Moreover, it proves that the intensity and polarization of the two beams were undisturbed during the whole propagation [14]. The holographic reconstruction was performed by wave optics software (Orteh LightSword 6) utilizing the angular spectrum propagation method [15]. The matrix of real numbers was created by point-by-point importing of intensity values captured by the moving detector. Such interferogram then was propagated numerically to distances of 600 mm and 800 mm, respectively, and intensity fields were exported as seen in Fig. 3 (b, c). No pre-processing of the fringes was attempted proving the lack of stray fields in the detection plane. No postprocessing was done on the reconstructed intensity images, proving the high informative capacity of the recordings. The denser fringes of lower contrast, visible in the left-side part of the interferogram in Fig. 3, are the result of interference with higher orders of diffraction from the diffractive gratings, being the consequence of non-perfect 3D printing of grooves.

Fig. 3
figure 3

a Exemplary raw interferogram captured in the experimental setup; unprocessed numerical reconstructions of the intensity of test transparencies at b 600 mm and c 800 mm; d frequency spectrum of the hologram

The hypothetical rotation of the polarization of any of the interfering beams would result in the partial loss of contrast of the fringes. Their contrast ratio was 49:1, as experimentally measured by dividing the maximal non-saturated intensity by the averaged background intensity. This value was affected by uncertainty due to sparse sampling; therefore, by repeating the measurement in different parts of the interferogram, the final value of (48.6 ± 0.7):1 was obtained.

Figure 4 shows the cross-section of a few periods of the recorded fringes compared with theoretical cosine fringes of two beams with exactly parallel linear polarizations, simulated with Zemax OpticStudio in the same geometry, i.e., two plane waves interfering at an angle of 16°. The good fit allows to assume unitary contrast ratios obtained in our experiment, and in consequence, the indirect proof of maintained collinearity of polarizations of the interfering beams.

Fig. 4
figure 4

Contrast of experimentally obtained interference fringes (squares) and theoretical fringes from two beams of colinear polarizations (solid line)

The polarization selectivity of the detector allowed us to examine the angle of polarization of all beams directly in the following experiment. The detector was placed in the central area of the intensity envelope of the examined beam and then rotated in full 180° range in 20° increments. After every rotation the intensity signal in a small area of 20 mm × 30 mm was integrated and averaged. By finding the global maximum in such created curves, as shown in Fig. 5, we were able to derive the angular orientation of the polarization of a tested beam.

Fig. 5
figure 5

Measurements of the polarization angles of THz beams: a source alone; b beam propagated through DOE#1; c beam propagated through DOE#2. Gaussian fittings are superimposed (dashed lines), showing the zero deviation. Sum of squared estimate of error (SSE) values are given as the estimation of the quality of fitting

Figure 5 compares the results for three beams: source beam (a), object beam (b), and the reference beam (c). The Gaussian fits clearly show the same positions of maxima, close to 0°. The visible noise was attributed to the presence of stray THz radiation from uncontrolled reflections, which could not be completely eliminated.

We have successfully demonstrated an alternative method of the off-axis digital holography with transmissive diffractive optical elements used to collimate and guide the terahertz beam. The elimination of mirrors facilitates setting up the experiment, as well as allows to reduce its cost and complexity, especially when the highly divergent THz beam is used, typically requiring large, off-axis parabolic mirrors. Moreover, any number and combination of proposed diffractive optical elements may be used without spurious rotations or alterations of the polarization of interfering beams, leading to superior contrast of fringes at the detection plane. The demonstration of more complex configurations is a matter of our future work.

The capability of 3D printing of DOEs in PA-12 [16] and other materials facilitates the prototyping and iterative optimization of the optical functionality with quick turnover and low costs. Low amounts of the dielectric material and large surface areas of the DOEs allow low signal attenuation in wide range of THz radiation, providing usefulness to a variety of experimental cases.

As an alternative to the recently reported shear interferometry [17], the proposed method allows the full utilization of the beam diameter.

Moreover, controllable modulation depth of DOEs allows an arbitrary division of the THz power into selected orders of diffraction, which opens the way to simplification of experimental methodology in terahertz interferometry with simple and demanding (i.e., reflective, absorbing) objects in numerous optical configurations.