1 Introduction

During photoacoustic measurements, a measured specimen is usually placed in an acoustically isolated cell in order to increase signal and suppress noise [1, 2]. The cell often operates as an acoustic resonator [3], and its properties significantly affect the measurement results. This paper describes the process of characterization of a resonant acoustic cell, in particular, determination of the frequency response of the cell [4].

When measuring the performance of an acoustic resonator, it is important to measure its frequency response in a specified frequency range with the accuracy as high as possible. On the basis of such a measurement, the parameters of the photoacoustic cell, such as the Q-factor, resonance frequency, or attenuation of the external noise, are determined. Those parameters should be also controlled during the measurement process in order to maintain an optimal operating point [5].

The gas concentration and temperature [6, 7] affect the speed of sound which influences the resonant frequency of the photoacoustic cell. Therefore, the excitation frequency of the modulated light beam should be maintained in the vicinity of the resonance frequency of the photoacoustic cell [8].

The frequency response of the cell can be determined by different methods such as scanning point-by-point, measuring of a pulse response [9, 10], or by the chirp stimulation [11]. Each of the mentioned approaches has advantages and disadvantages. In the point-by-point method, the amplitude of the PA signal is evaluated independently at each frequency in separate measurements. In order to accurately determine the cell response, the measurements should usually cover a wide frequency range. As a result, such a method is time consuming, especially taking into consideration the need to average measurements. In the pulse method, a measured amplitude and phase response depend on a length of the pulse [10]. Stimulation of the resonant photoacoustic cell with such a signal results in deformation of the obtained characteristic, imposing the requirement of an additional correction. Further, in addition, the signal-to-noise ratio of the excitation signal is not constant over the entire frequency range.

2 Description of Proposed Method

This paper presents another approach to evaluate the frequency response of a photoacoustic cell. For this purpose, a complex excitation signal, combining multiple sine waves of different frequencies, is used. By inverse Fourier analysis, any signal can be decomposed and described by a combination of sine waves. By inverse Fourier analysis, it is possible to synthesize a signal with a required specific spectrum. From the point of view of the frequency response, determination of this spectrum could be limited only to the required frequency range. The amplitude and phase of the excitation signal could be programmed depending on the requirements. The excitation signal described in the time domain consists of a bunch of sinusoidal signals summed according to the equation,

$$\begin{aligned} x(t)&= A_1 \sin (2\pi f_1 t+\varphi _1 )+A_2 \sin (2\pi f_2 t+\varphi _2 )+\cdots +A_N \sin (2\pi f_N t+\varphi _N )\nonumber \\&= \sum _{n=1}^N {A_n \sin (2\pi f_n t+\varphi _n )}, \end{aligned}$$
(1)

where \(n\) is the frequency index, \(f_{n}\) is the value of the frequency for index \(n, A_{n}\) is the amplitude of the sine wave with index \(n, \varphi _{n}\) is the phase of the sine wave with index \(n\), and \(t\) is the time.

In the presented method, the induced optical signal should be amplitude modulated. The modulation signal should be periodic. For the specific case of excitation with a single frequency (\(N = 1\)), the optical signal consists of a single sine wave at a fixed frequency. Such a signal corresponds to the point-by-point measurement method. In the case of a measurement of the frequency response within the range from 500 Hz to 2 kHz with 4 Hz resolution, the point-by-point method required 376 independent measurements. In contrary to the other methods, in the present method, the frequency response can be obtained in a single measurement—from a single excitation. The excitation signal is composed of the 376 sine waves, each with the same amplitude. Figure 1 shows a shape of the excitation signal amplitude and its spectrum.

Fig. 1
figure 1

Excitation signal in (a) time domain and (b) frequency domain

3 Experimental Verification

In order to verify the proposed method, the frequency response of the same photoacoustic cell was measured using both: the novel approach as well as the point-by-point method. The experimental setup with a photoacoustic Helmholtz resonator is presented in Figs. 2 and 3.

Fig. 2
figure 2

Sketch of a photoacoustic resonator used in the measurements

Fig. 3
figure 3

Photograph of the tested photoacoustic resonator

In the experimental setup, a LED diode was used, in which change of the current allows simple modulation of the optical power. The frequency response of the resonator measured by the two methods is illustrated in Fig. 5. In the case of the method with superposition of sine waves, the modulation waveform was synthesized according to Eq. 1, converted to current, and added to a bias current driving the LED diode. The signal was synthesized in such a way that the frequency range of 0.5 kHz to 2.0 kHz was covered. The period of the modulation signal was 250 ms. The photoacoustic signal from the microphone was averaged 100 times; thus, the whole measurement took 25 s. The signal obtained in the time domain is presented in Fig. 4. After recording the photoacoustic signal, the Fourier transformation was applied to the collected data, resulting in the first harmonic at 4 Hz, the second at 8 Hz, the third at 12 Hz, etc. (resolution of 4 Hz).

Fig. 4
figure 4

Photoacoustic response obtained from the measured cell stimulated by the complex signal

Fig. 5
figure 5

Comparison of the frequency responses obtained experimentally with the point-by-point method and superposition of sine wave

In the case of the point-by-point method, the measurements started at 300 Hz and ended at 2.6 kHz with a step of about 4 Hz, and each measurement was averaged 100 times. From each measurement, eight samples per period were taken, from which the amplitude was calculated. The whole measurement took about 8 min including signal acquisition time. The frequency response displayed in the Fig. 5 was limited to the range of interest, i.e., 0.3 kHz to 2.6 kHz.

It can be easily seen that results of both methods are practically identical within a specified frequency range. Outside the considered frequency range, the characteristic differs. The method with a complex excitation signal starts at 500 Hz and ends at 2 kHz, confirming correct synthesis of the stimulation signal.

4 Conclusions

The presented method uses a complex excitation signal, and allows the frequency response of a photoacoustic cell to be determined in a single measurement. The optical power of the excitation signal can be modulated in such a way that the optical signal is a composition of a sine wave with different frequencies and equal amplitudes. The presented method gives the same results as the traditional point-by-point measurements (Fig. 5). The advantage of the presented method is that the spectrum of the excited signal is limited to a required frequency range. All frequencies included in the frequency response are generated at the same time, which provides the same measuring conditions for all the frequencies. In comparison to the point-by-point method, the measurement time in the presented approach is much shorter and is comparable to the time required by the pulse method (yet, the approach is free from the inconvenience induced by the pulse measurements related to pulse length).