1 Introduction

European legislation dictates that pharmaceuticals are to be sold only with patient information leaflets enclosed. This is laid down in directive 2001/83/EC of the European Parliament, “relating to medicinal products for human use” [1]: Article 58 states that “The inclusion in the packaging of all medicinal products of a package leaflet shall be obligatory […].” This requirement necessitates 100% inspection of the folded cardboard boxes used for packaging pharmaceuticals. Present-day techniques rely on weighing large batches of boxes, either in the production line or in post-production measurements. However, weighing scales provide integral values only, and if the batch weight turns out to be too low, the missing insert cannot be localized.

Any potential real-time techniques need to address the fact that in typical production facilities, the boxes are usually shingled (i.e., they overlap in a tile-like manner) and move at speeds of approx. 10 m/s. An in-line screening procedure with a spatial resolution below 1 mm thus requires data acquisition rates above 10 kHz.

It has long been known that terahertz radiation is able to penetrate paper and cardboard materials [26]. Over the past decade, terahertz instrumentation has matured considerably, and bulky lab setups have given way to compact, versatile systems that are about to make their move into “real-world” applications. Of a variety of different methods for terahertz generation, photoconductive switches pumped by femtosecond lasers have found particularly widespread use (for an overview, see, e.g., [7]). However, in terms of attainable data rates, these time-domain (TD) terahertz systems are still facing major challenges. The limitations arise from the method itself: In a typical TD-terahertz assembly, the emitter converts a short laser pulse into a terahertz transient, which—on the receiver side—is sampled with a time-shifted copy of the initial laser pulse. This concept necessitates a time delay, which presents a bottleneck in terms of measurement speed. Mechanical delays record 10–500 pulse traces/second at most [8, 9]. Novel schemes dubbed ASOPS (“asynchronous optical sampling”) [1012] and ECOPS (“electronically controlled optical sampling”) [13, 14] replace the mechanical delay by two synchronized short-pulse lasers. While these concepts have proven capable of single-kilohertz data rates, they still fall short of the demands for “ultrafast” in-line screening.

We have recently demonstrated a comparatively simple TD-terahertz approach that resolves the intensities of individual terahertz pulses at repetition rates of 80 MHz [15]. Our setup combines a photoconductive emitter with a fast, AC-coupled Schottky receiver. Compared to a conventional TD-terahertz instrument, the key difference is that our concept eliminates the need for a delay stage altogether. Thus, while the spectral content of the incident pulses is lost, the detector provides amplitude information on a time scale of ∼10 ns. The system can thus be viewed as an ultrafast single-pixel camera.

In this work, we applied the same technique to the screening of folded cardboard boxes. We mounted the samples on a turntable in order to simulate the movement of a fast conveyor belt. The presence, or absence, of package inserts was detected at velocities beyond 20 m/s and up to an overlap of 50 to 60% of the sample area.

2 Experiment

2.1 Samples

We examined packages of three different pharmaceuticals (Table 1). The first set featured a package insert made of plastic. The plastic slab is visible in the cross-section photograph (see row “Profile” in Table 1), next to the fold that joins the ends of the original cardboard sheet. The second set of boxes contained a package insert made of cardboard. The third set comprised a leaflet of thin paper, folded into 42 layers. On one end, a strip of 8 mm width is folded once more, so that one side of the insert amounts to 56 layers (see profile photograph in the rightmost column of Table 1).

Table 1 Samples of pharmaceutical packages. From top to bottom: (i) sample number, (ii) photograph, (iii) type of package insert, (iv) photograph of cross section, (v) sketch of cross section with the approximate position of the insert shown in red

The total thickness of the samples in the direction of the terahertz beam was 2 to 4 mm, including the two outer cardboard layers.

Following the tradition of inexpensive conveyor belt replicas [16], we mounted the folded cardboard boxes on a turntable, which we built from a power drill. Angular velocities from 500 to 2520 rpm simulated translational speeds of 4.2 to 21.1 m/s. The two photographs in Fig. 1 show representative arrangements of overlapping and non-overlapping samples on the turntable. In each arrangement, we removed the package leaflet from one of the boxes.

Fig. 1
figure 1

Photographs of folded cardboard boxes mounted on a turntable. Left: non-overlapping arrangement of sample #1. Right: shingled arrangement of sample #3

2.2 Setup

An instrument schematic is sketched in Fig. 2. Since the details of the measurement technique and the optoelectronic components have already been discussed elsewhere [15], we restrict ourselves to a brief description of the key elements and their role.

Fig. 2
figure 2

Left: Schematic of the measurement system. DAQ = data acquisition unit, PC = computer used for data processing. The RMS converter produces a DC signal proportional to the integral of the measured pulse amplitudes. Right: 100 MHz pulse train as measured with the Schottky receiver

A compact femtosecond laser (TOPTICA Photonics, FemtoFErb THz FD6.5) emits pulses with a halfwidth of 65 fs and a center wavelength of 1.56 μm. The laser repetition rate is 100 MHz and thus faster than that of our previous setup [15]. The laser includes a dispersion-compensating fiber, followed by a standard polarization-maintaining fiber, which guides the pulses to the terahertz emitter. The emitter (Fraunhofer Heinrich Hertz Institute, model THz-P-Tx) consists of an InGaAs/InAlAs photoconductive switch with a strip-line antenna [17]. With an optical power of 20 mW and a DC bias of 120 V applied, the emitter generates an average terahertz power of approx. 75 μW [18].

An assembly of four off-axis parabolic mirrors collimates the terahertz pulses, focuses them on the sample, re-collimates the transmitted radiation, and finally directs the pulses to a fast Schottky receiver (ACST GmbH, model 3DL 12C LS2500 A2) [19]. The output of the Schottky receiver, a low-pass filtered replica of the incident terahertz pulse, is pre-processed in an RF-to-RMS converter, which produces a DC signal proportional to the integral of the pulse amplitudes detected. The signal is then sampled in a fast oscilloscope (Pico Technology, PicoScope 6000) which is connected to a computer for data readout.

While the detector can, in principle, record the intensities of individual terahertz pulses (cf. Fig. 2), we chose to average 1000 consecutive measurement points, in order to facilitate data acquisition and post-processing. Including slight oversampling, the effective time resolution was 6.4 μs. This corresponded to a spatial resolution of ∼0.1 mm when the boxes moved at maximum velocity.

3 Results and Discussion

Figure 3 shows terahertz signal patterns obtained with folded boxes of samples #1 and #3, arranged in a non-overlapping manner (see Fig. 1, left). Only one of the two boxes comprised a package insert. The depicted signals can be viewed as line scans along central sections of the samples.

Fig. 3
figure 3

Terahertz signals transmitted through cardboard boxes without and with package insert. The sketches depict cross sections of the samples, with the insert shown in red. a Sample #1. The boxes moved at 500 rpm (4.2 m/s) and did not overlap. Small figure: same measurement at 2520 rpm, equivalent to a translational velocity of 21 m/s. b Sample #3 at 4.2 and 16 m/s (insert)

Relative to an unattenuated signal level of approx. 16 dB, the transmitted terahertz intensity drops as soon as a sample crosses the beam. Distinct dips in the signal trace correspond to the edges of the samples and to the fold that joins the ends of the original cardboard sheet. The presence of the inserts manifests itself in additional signal peaks: In sample #1, the edges of the plastic insert give rise to two more peaks. In sample #3, the enclosed paper leaflet produces three additional peaks, which are easily identified with the outer edges of the paper sheet itself and the boundary between the 42-layered section and the 56-layered one.

All of these patterns remain unchanged at higher velocities and are detected unambiguously even at translational speeds of 16 to 21 m/s (inserts in Fig. 3).

As seen in Fig. 4, shingled samples produced more complex signal patterns. In our experiments, the boxes were arranged in a semi-circle, and the package insert was removed from one box at the center of the fan-like stack (see Fig. 1, right).

Fig. 4
figure 4

Terahertz signals transmitted through overlapping boxes. The signals of the box with missing package insert are marked with a red circle. a Sample #2. The boxes moved at 500 rpm (4.2 m/s). The area overlap was 40, 50, and 60% (from top to bottom). b, c Signals obtained with Samples #1 and #3, respectively; the boxes moving at 4.2 m/s

In the graphs of Fig. 4, the first patterns observed in the receiver signals (e.g., at scan times of ∼5 ms in Fig. 4a) result from the first sample of the stack crossing the beam; this scenario is akin to the non-overlapping arrangement. As soon as the overlapping boxes rotate into the beam, a periodic multi-peak pattern builds up. In the case of sample #2, the absence of the package leaflet is evident for an area overlap covering up to 60% of the surface of the boxes.

With samples of types #1 and #3, the absence of the enclosed leaflet is readily recognized up to an overlap of 50%. The signals obtained for an area overlap of 60% (lower traces in Fig. 4b, c, respectively) appear less conclusive. It is conceivable that an advanced pattern-recognition software routine would still be able to interpret the data correctly; the limits mentioned above should thus be viewed as conservative, “naked-eye” estimates.

The measurement method presented here takes advantage of the high output power of the InGaAs photoconductive switches, the detection sensitivity of the Schottky receiver, and the spectral match of both: The output spectrum of the emitter peaks at frequencies around 450 GHz [9], which coincides with the sensitivity range of the Schottky receiver (50–1500 GHz) [20]. In addition, cardboard materials are sufficiently transparent at these frequencies, at least for a sample thickness of a few millimeters.

In our experiments, the maximum translational velocity of 21 m/s was limited by the rotational speed of the utilized turntable. Even with the 1000-fold average of the raw data taken into account, the spatial resolution at maximum speed was approximately 0.13 mm, which is more than sufficient for this application. Vice versa, assuming that a spatial resolution of 1 mm is desired, the same system can handle sample velocities beyond 150 m/s—and even more if the number of averages is reduced.

4 Conclusion

The combination of a powerful photoconductive switch and a fast, AC-coupled Schottky receiver enables observation of the intensities of individual terahertz pulses at repetition rates of 100 MHz. The setup employed in this work requires neither any delay stage nor pulse-picking or lock-in detection. Therefore, the system not only outperforms conventional time-domain terahertz instruments in terms of speed by four to seven orders of magnitude but it is also significantly less costly. We thus expect this “ultrafast” measurement technique to enable a wealth of new applications in industrial quality control.

In a series of proof-of-principle measurements, we demonstrated the suitability of our setup for fast and reliable screening of pharmaceutical packages. Utilizing a fast turntable to simulate a conveyor belt, we found that signal patterns of folded cardboard boxes with and without package inserts differed significantly. The absence of a package insert could be detected at realistic sample velocities and even up to an overlap of approx. 50% of the sample area.

In contrast to integral, post-production measurements used to-date, the new method lends itself to 100% monitoring within a production line. An automated, software-based identification of incomplete packages can easily be envisaged. Given sufficiently fast data processing means, the setup could become part of a real-time sorting system, where faulty packages are precisely located and subsequently expelled.