{'fraction_non_alphanumeric': 0.03264854395794425, 'fraction_numerical': 0.018122708722418206, 'mean_word_length': 4.8214213811153614, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Analog Front-End Circuitry in Piezoelectric and Microphone Detection of Photoacoustic Signals

This paper is a review of analog front-end circuitry used in photoacoustic equipment with microphone or piezoelectric detection. A block structure of the front end as well as detailed circuit diagrams of preampliﬁers dedicated for piezoelectric sensors and measurement condenser and electret microphones are described. The presented circuits are optimized toward low-noise operation. Practical remarks regarding the design of the remaining analog blocks are also given. The analysis shows that it is possible to design an analog front end for which speciﬁcations will be comparable with the best commercial solutions.

Selection of a detector used in a particular application depends strongly on the physical state and form of the substance under investigation. Piezoelectric transducers are used mainly in photoacoustics of liquids [19][20][21][22] and solids for which the forms allow for direct contact with the transducer [23][24][25][26]-e.g., semiconductor structures [25,26]. They are also commonly used in medical and imaging applications [27,28], as well as for the study of nanoparticle suspensions [29,30]. Microphones are applied mainly in photoacoustic investigations of gases [1,2,[31][32][33][34] and such solids in which piezoelectric detection would be difficult-e.g., powders [35,36].
In a laboratory environment, processing of the output signals from such sensors is typically performed by means of specialized equipment, i.e., dedicated preamplifiers, amplifiers, synchronous detectors, etc. It should be noted, however, that the development of an analog front end dedicated for photoacoustic measurements is relatively easy. And such a design can have technical specifications comparable to characteristics of the mentioned specialized equipment, at many times lower cost, size, power consumption, etc. As a result, it is possible to develop a relatively simple, but very convenient tool for use in photoacoustic experiments in laboratory conditions, as well as in the field. This paper discusses basic issues regarding the design of such an analog front-end circuitry dedicated for photoacoustic detection with piezoelectric sensors or microphones.

Analog Front-End Block Structure
A typical block structure of the analog front end with photoacoustic detection performed by means of a microphone or piezoelectric sensor is presented in Fig. 1. The main components of such a structure are • input transducer, i.e., microphone or piezoelectric sensor, which converts pressure changes in the photoacoustic cell into electrical signals, • preamplifier, • amplifying-filtering block, • analog-to-digital converter, and • power supply.
Design and specifications of the mentioned components should be adjusted to the target application and properties of the input sensor.

Input Sensor
As already mentioned, the most common photoacoustic signal detectors (input sensors) are microphones and piezoelectric transducers. Knowledge of their properties is very important, as these properties have direct impact on the characteristics of the photoacoustic instrument and also result in some requirements regarding design of the next stage of the signal path.

Piezoelectric Transducers
Operation of all piezoelectric transducers is based on a piezoelectric effect. This phenomenon is observed when a mechanical deformation of a piezoelectric material produces a change in the electric polarization of that material, i.e., electric charge appears on certain opposite faces of the piezoelectric material when it is mechanically loaded [37,38]. Properties of piezoelectric materials are defined by means of several parameters, among others, by a piezoelectric charge constant (d) and piezoelectric voltage constant (g). The piezoelectric charge constant is defined as the electric polarization generated in a material per unit of mechanical stress applied to this material, while the piezoelectric voltage constant is defined as the electric field produced in a material per applied unit of mechanical stress. It should be noted that some piezoelectric materials may have a high charge constant and a moderate voltage constant, while other materials may have a higher voltage constant and a moderate charge constant. This means that piezoelectric materials can be divided into two basic kinds: capacitive and charge emitting. Examples of charge-emitting sensors are commonly used PZT piezoceramics, which have a high charge sensitivity of 580 pC·N −1 and a moderate voltage constant 38 V·m·N −1 , while quartz, which in turn has a low charge sensitivity of 4.6 pC·N −1 (charge constant) but a relatively high voltage sensitivity of 118 V·m·N −1 [39], can be an example of a capacitive material. All the piezoelectric materials are high-impedance signal sources and thus require an appropriate design of the following stage (preamplifier).
Operation of all these kinds of microphones is based on deflection of a conductive plane (usually a membrane) which results in changing of the sensor capacitance according to the applied pressure changes.
Measurement condenser and electret microphones have usually a form close to a cylinder for which the diameter is 1/8 in (3 mm), 1/4 in (6 mm), 1/2 in (13 mm), or 1 in (25 mm) [40][41][42]. In photoacoustic applications, the most common are 1/2 in (13 mm) microphones dedicated for pressure measurements. The sensitivity of such microphones is typically not more than 50 mV·Pa −1 (sensitivity of 1/4 (6 mm) microphones is typically at the level of 1.6 mV·Pa −1 ) [40][41][42]. The influence of the temperature, humidity, static pressure, and aging on the sensitivity is so low that they can be neglected. These microphones also have a very high dynamic range (over 140 dB) and low noise, which is typically at the level of 1.1 µPa·Hz −1/2 for 1/2 in (13 mm) microphones [40,42]. Unfortunately, their prices are relatively high (start at about $1000), which prevents them from use in many general-purpose lower cost applications. The capacitance of such microphones is typically a few to a few tens of picofarads [40,42], which at lower acoustic frequencies corresponds to the impedance at the level of G . Thus, a high-impedance input preamplifier must be used with such sensors. An additional requirement in the case of measurement condenser microphones is +200 V DC polarization voltage.
In many applications, an alternative for measurement microphones is low-cost, electret microphones (typical price range of $1 to $10) dedicated for consumer applications or for use in hearing instruments [43,44]. Their most common sizes are in the range of 3 mm to 6 mm, offering a typical sensitivity below 10 mV·Pa −1 [43,44]. These microphones have a low-impedance output (typically a few k ) due to an internal FET-based voltage follower, which simplifies design of the following stages, but their dynamic range is low and the stability is poor. Additional problems result from a moderate or even poor signal-to-noise ratio and power supply rejection ratio (PSRR) [43,44].
An even better sensor can be found among commercially available MEMS microphones, which have a higher sensitivity (10 mV·Pa −1 to 100 mV·Pa −1 ) at a similar or even lower price ($1 to $5), a smaller size-typically, 1.85 mm × 2.75 mm to 3.8 mm × 4.7 mm (L × W), and a moderate dynamic range and stability [44][45][46][47][48]. Similar to the low-cost electret microphones, they are equipped with an internal voltage follower/amplifier, and offer a moderate or poor S/N and PSRR. Some MEMS microphones models have direct digital output, usually I2S (e.g., ICS-43430 and ADMP441ACEZ), or PDM interface (e.g., WM7210, SPK0415HM4H-B, AKU440, and INMP522), and their use in photoacoustics has already been reported [49]. However, taking into consideration that the photoacoustic signal is usually relatively low and requires substantial amplification, voltage output microphones are more suitable in such applications. Although the above specifications may not seem yet particularly impressive, it should be mentioned that some papers have reported MEMS microphones of much better characteristics-e.g., sensitivity over 2000 mV·Pa −1 , at dimensions less than 3 mm × 3 mm [50], which clearly shows that there is a lot of room for improvement, and further strong progress in the field of MEMS microphones should be expected.

Preamplifier
The main role of a preamplifier used in photoacoustic equipment with a microphone or piezoelectric detection is conversion of the input signal available at a high-impedance output of the sensor to a low-impedance (not more than a few k , preferably less than 100 ) signal source. The preamplifier stage should also be optimized toward the lowest possible noise. Amplification of the signal is desired, but not critical, as it can be done in the following stages, which work at a low signal source impedance, so that it can be quite easily designed with very low inherent noise. In the case of a piezoelectric sensor, the two basic preamplifier configurations are a voltage follower (Fig. 2a) and charge amplifier (Fig. 2b) [38,[51][52][53][54]. The basic preamplifier circuits for condenser and electret (pre-polarized) microphones are given in Figs. 2c and d [55,56].

Voltage Amplifier for Piezoelectric Sensors
In the voltage follower circuit (Fig. 2a), the output of the operational amplifier follows the voltage from the non-inverting input, which means that the circuit should be used with capacitive transducers (which have a higher voltage constant), rather than with charge-emitting ones. The resistor R is required to supply a bias current to the noninverting input of the amplifier. The resistive component of the sensor impedance is very high, so that R R1 even if R is in the range of G . Noise analysis of such a voltage follower can be based on the circuit diagram presented in Fig. 3, where i n and u n are, respectively, the current noise and voltage noise of the operational amplifier, while u nR is the noise of resistor R. Taking into consideration that the noise voltage increases with the resistance, it may seem at first glance that R should be reduced to   Influence of the input resistance on the noise properties of the preamplifier [55] such a value, and that the lower cutoff frequency of the amplifier (resulting from the time constant defined by the R and C1 values) is equal or slightly below the lowest frequency used in the measurements. But it should be noted that connection of the R and C1 acts as a high-pass filter with respect to the signal to be measured, while it acts as a low-pass filter with respect to the noise generated by the resistance. And, while the time constant of the mentioned low-pass filter is proportional to the resistance, the noise voltage increases with the square root of the resistance value. As a result, noise properties of the amplifier should improve with the input resistance value (Fig. 4) [55]. Therefore, it is convenient to have R as large as possible.
Taking into consideration that the input bias current I B of the amplifier passes through R resulting in an additional input offset voltage, the operational amplifier should be a CMOS or JFET with possibly the lowest i n and u n noise values. A practical example of a preamplifier for a piezoelectric sensor working in the voltage mode is shown in Fig. 5. The operational amplifier used in the presented solution is LMC662, for which typical specifications are I B = 2 fA, u n = 22 nV·Hz −1/2 , and i n = 0.2 fA·Hz −1/2 . The amplifier works with a gain of K = 1 + R2/R3 (which for the component values as given in Fig. 5 is approximately 10). Such an approach has two main advantages over a simple voltage follower. First, if the signal from the amplifier output is to be transmitted over a greater distance, its higher amplitude will make it less sensitive to the electromagnetic interference and other noise sources. Second, if the input signal is amplified, then noise properties of the following stages are less critical [57]. It should be noted, however, that the gain of such a circuit must be selected according to the gain bandwidth product (GBP) of the operational amplifier and the required bandwidth of the signal. LMC662 has a typical GBP of 1.4 MHz, which Thus, if the bandwidth is of primary importance, the preamplifier should rather work in the configuration of a voltage follower, with a second stage based on an operational amplifier with a much lower noise voltage (taking into consideration that the noise adds with squares, an amplifier with a noise voltage of 20 % will increase the final noise by less than 5 %) and a much higher GBP (Fig. 6).
The R4 and C4 components (R4 ≈ R3; C4 ≈ C) in the circuit diagram from Fig.  5 are used to balance impedances at both amplifier inputs. Such a technique reduces the input offset voltage, because input bias currents of both inputs flow through similar resistances. Even more important is that such a solution also significantly decreases the output noise (Fig. 7). This results from the fact that in a FET input operational amplifier, the current noise of the bias circuitry can be coupled to the inputs via the gate-to-source capacitances and results in an additional input voltage noise component. However, taking into consideration that this noise component is correlated at both inputs, matching of the input impedances should reduce it substantially [54].

Charge Amplifier for Piezoelectric Sensors
In the charge amplifier configuration (Fig. 2b), a piezoelectric sensor is connected to the inverting input of the operational amplifier. Time variations of the charge produced by the sensor can be treated as the AC current component. Due to the virtual ground Fig. 7 Influence of unbalanced impedance of the operational amplifier inputs on the preamplifier noise [54] (a potential close to zero, forced by the feedback loop of the amplifier) existing at the inverting input, dQ charge changes induced by the piezoelectric sensor causes a corresponding flow of current through the capacitor C2, producing dQ/C2 voltage at the output of the amplifier [38,52,54]. Similar to the previous case, the resistor R2 is required to supply bias current to the inverting input of the operational amplifier. In practical applications (Fig. 8), the non-inverting input is connected to the ground via a parallel connection of R3 and C3 (where C3 = C1 || C2, and R3 = R1 || R2) in order to balance impedances at both amplifier inputs. Parallel connections of R1, C1 and R3, C3 influence the frequency response of the charge amplifier, by determining lower f L and upper f U corner frequencies, respectively. Practical values of the upper cutoff frequency are usually below 100 kHz. Similarly, as in the voltage preamplifier, the operational amplifier should be a CMOS or JFET with the possibly lowest u n noise value, but as the resistor values are usually much lower than in the case of the voltage amplifier, the input bias current I B and current noise i n values are much less critical. The operational amplifier used in the circuit presented in Fig. 8 is OPA192, for which typical specifications are I B = 5 pA, u n = 5.5 nV·Hz −1/2 , and i n = 1.5 fA·Hz −1/2 . Values of the resistors R2, R3 and capacitors C2, C3 are not given on the circuit diagram, because they depend on the characteristics of the sensor (mainly on its capacitance C1), as well as on the required signal gain and bandwidth.

Measurement Condenser Microphone Preamplifier
Preamplifier circuits dedicated for externally polarized condenser microphones are usually implemented in voltage amplifier configurations, as in Fig. 2c [55]. The highohmic resistance R1 supplies DC polarization to the microphone, while the other high-ohmic resistor R2 is used to supply bias current to the operational amplifier. The main sources of noise in the circuit shown in Fig. 2c are resistors R1 and R2, and the amplifier A1. As previously discussed, from the point of view of the noise properties, R1 and R2 should be as large as possible. Unfortunately, resistances higher than 10 G to 50 G are not practical, because resistances R1 and R2 limit also the speed of charging the microphone and separating capacitance C1 to the polarization voltage after powering up the amplifier. A practical circuit that overcomes this problem is shown in Fig. 9 [56]. During measurements, both switches are opened, thus creating ultra-high resistance. They are closed for a short time before the measurements start in order to charge the separating capacitor C1 and the microphone to the polarization voltage. The resistors R1 and R2 connected in series with the switches are used to limit charging currents. Due to the extremely low input currents of the first stage amplifier and appropriate assembling, which minimize leakage currents, the DC operating point of the amplifier changes very slowly, so that the measurements can last minutes before the switches should be closed again [56]. The voltage at the output of LMC662 follows the microphone signal changes. The gain of the second stage of the preamplifier is fixed with resistors R4 and R5 (K = 1 + R4/R5). The capacitor C2 and the resistor R3 form a high-pass filter, which is used to remove a DC component from the MAX4488 input. The corner frequency of the filter f L = 1/(2π R3 C2) can be selected according to the needs of a particular photoacoustic setup in which the preamplifier is used. At lower frequencies, noise characteristics of the circuit presented in Fig. 9 are substantially better than those of a commercial Bruel and Kjaer 2669 condenser microphone preamplifier (Fig. 10) [56]. The main drawback of the circuit is the necessity of periodical closing of the switches. This problem can be  solved by the use of additional ultra-high (1 T ) resistances, which compensate the operational amplifier input bias and leakage currents (Fig. 11). A parallel connection of two operational amplifiers results in noise averaging and reduces the output noise by approximately a factor of 1/ √ 2 [58]. Taking into consideration that the LMC662 contains two amplifiers in a single package, this noise reduction comes at no extra cost.

Measurement Electret (Pre-polarized) Microphone Preamplifier
In comparison to the condenser microphone preamplifier, a pre-polarized (electret) measurement microphone preamplifier can be substantially simplified, because there is no polarization voltage required. An example of such a circuit is given in Fig. 12. The resistor of 1 T is used for supplying the bias circuit to the non-inverting input of the operational amplifier, and simultaneously removes from the microphone any unwanted charge which might otherwise lead to an erroneous sensitivity. It is clearly visible that the circuit is virtually the same as in the case of the piezoelectric sensor preamplifier working in the voltage mode (Fig. 2a).

Low-Cost Electret and MEMS Microphone Preamplifier
Commercial MEMS microphones and low-cost electret microphones usually have an internal voltage follower or amplifier. Thus, their output is a low-impedance signal source, and there is no need for any external preamplifier dedicated for high-impedance transducers-outputs of such microphones can be directly connected to a standard amplification and filtering block that is described further.

General Structure of the Amplification and Filtering Block
The level of the photoacoustic signal obtained from the input sensor is usually low, especially in the case of trace concentration detection. However, the dynamic range of photoacoustic measurements can be very high-e.g., it can be easily noticed that implementation of concentration measurements ranging from single ppb to 1000 ppm requires a dynamic range of 120 dB. Some detectors, such as measurement microphones, allow for an even higher dynamic range. Getting such a high dynamic range directly in an analog-to-digital converter (at an acceptable signal-to-noise ratio and required sampling range) can be very difficult, if possible. It is usually much more convenient to enhance the dynamic range of the ADC with a programmable gain adjustment implemented in the analog signal path. Such a gain adjustment does not have to be very smooth--switching the gain with binary or even decade steps is sufficient. Such a circuit can be implemented with existing integrated PGA (programmable gain amplifier) circuits-e.g., AD 8253, PGA 113, LTC 6912, etc. Every gain stage introduces a DC offset, which results from the fact that the input voltage offset of every stage is multiplied by its gain coefficient. As a result, even just 1 mV of the input voltage offset of an operational amplifier multiplied by the factor of K = 10 000 should result in an output offset of 10 V, which in typical conditions would lead to saturation of the output amplifier. This is one of the reasons for which high gain factors (it should be mentioned that gains at the level of 10 000 are not unusual in photoacoustic setups) are usually implemented in several amplification stages (e.g., two PGAs). In order to reduce the offset, every gain stage should be AC coupled with the preceding circuit. This may be, in particular, implemented with a capacitor placed in the signal path or in a more complex high-pass filter.
Taking into consideration that the photoacoustic signal can be very weak (quite often it is buried in noise), filtering is a very important part of photoacoustic signal processing. An appropriately designed filter should pass only the frequencies of interest while rejecting (suppressing) other components of the input signal. As a result, the more narrow is the passband, the stronger will be the noise amplitude reduction. It should also be mentioned that low-pass sections not only limit the noise bandwidth, but also work as anti-aliasing filters, which must be used if the signal is to be subject to analog-to-digital conversion. The type of filter should be selected according to the particular application. If the shape of the photoacoustic pulse response is important, then a Bessel filter should be used. If the pulse response is not critical, but a flat frequency response in the passband is required, then a Butterworth filter should be used. Chebyshev and elliptic filters have a ripple in the pass band, but a steeper rolloff past the cutoff frequency [59,60]. Taking into consideration that any filter has a limited rolloff above its cutoff frequency, the filters are often cascaded in order to obtain stronger attenuation out of the passband [59]. A standard approach is that after every gain stage, a single-or double-zero/pole filter is placed. Thus, the resulting frequency response corresponds typically to a filter of at least second order, which is usually sufficient, as additional filtering (if needed) can be implemented as digital signal processing. Placing a filter after every gain stage allows for easy DC offset cancelation and reduces noise, giving more room for signal amplification without saturation of amplifiers. It might be tempting to use a programmable filter to get it more flexible and applicable in many applications. Such filters can be quite easily implemented as variable state filters with a multiplying DAC [61][62][63] or switched-capacitor filter. However, it should be noted that switched-capacitor filters are noisy [64], while the mentioned programmable variable state structure shows relatively poor attenuation properties [63]. Hence, it is usually better to use conventional analog filters with fixed cutoff frequencies selected according to a particular application.

ADC Selection Criteria
The primary selection criteria of the analog-to-digital converter are resolution and sampling rate. According to the Nyquist sampling theorem, it is sufficient to sample a signal with a frequency which is twice higher than the highest frequency component present in the signal spectrum to get correct information about the signal [65]. However, due to a strong increase of the anti-aliasing filter requirements, it is not recommended to obtain a sampling rate too close to the Nyquist frequency. Oversampling with a factor of at least 100 will substantially reduce these requirements. Moreover, a higher sampling rate improves the frequency resolution of the FFT (if applied to the recorded signal), and allows for averaging resulting in a better signal-to-noise ratio [65][66][67]. Hence, assuming that the photoacoustic signal will not contain components of interest above 10 kHz, a converter with a sampling rate at the level of 1 Msps should be sufficient. Now, taking into consideration that currently it is possible to buy a decent 16-bit ADC capable of working with a 1 Msps sampling rate for approximately $15, there is not much point in cutting the cost down to, for example, $5 for a 12-bit converter. Certainly, the sampling rate requirement depends strongly on the application and in particular on the mode of operation of the designed photoacoustic system. If the system is to work in a pulse regime and the photoacoustic response to such pulses is to be recorded with a high time resolution, then, of course, higher sampling rates may be required.

Power Supply and Other Remarks
Measurement condenser microphones require a polarization voltage. A simple circuit that can be used to produce +200 V DC from a low supply voltage available locally is given in Fig. 13. V_IN can be of any value in the range of 3 V to 15 V. In order to reduce EMI noise resulting from switching, MAX1523 can be put in a shutdown mode for a few minutes (for the time of measurements) [68]. The output voltage can be precisely adjusted with potentiometer R4. If programmatic adjustment of the output voltage is required, then it can be implemented by replacing R4 with a digital potentiometer [68].
Power supply design may seem to be a simple task, but there are a few things that must be taken into account. One of the most important is the PSRR (power supply rejection ratio, which tells how much variations of the supply voltage are transferred to the signal path) of the components used in the front end. Certainly, the most critical is the PSRR of the first components in the signal chain, i.e., input sensor and preamplifier, because further front-end blocks work with the amplified signal. To give an example, if the PSRR is 60 dB and the supply voltage contains ripples of 1 mV, they will manifest in the signal path as an additional noise with an amplitude of 1 µV, which can be comparable to the photoacoustic signal level. The above example shows clearly that the PSRR of the critical parts should be really high, and for that reason, components such as the EK series microphones produced by Knowles, for which the PSRR is rated at a value of only 14 dB [69], should not be used in photoacoustic applications. Another conclusion is that the output of the analog power supply must be really cleanultralow output noise linear regulators (e.g., TPS7A4700, LP38798, ADM7151, and ADM7160) are strongly recommended, while switching regulators should be avoided. Appropriate decoupling and proper PCB design with a dedicated ground layer are also critical.
A very strong source of noise is 50 Hz electromagnetic interference (EMI). Taking into consideration that the input stages of the photoacoustic front end are very sensitive to any kind of EMI noise, shielding to prevent stray signal pickup and galvanic separation of the front end from the digital circuitry are strongly recommended [57]. In the case of very high-impedance preamplifier circuits, the surface leakage of the PC board must not be ignored. To minimize the effect of leakage, guard rings can be helpful [70][71][72], but for extremely low bias current applications (level of fA), all such connections should be made to a virgin Teflon standoff insulator [54]. After assembly, the board should be cleaned carefully and then sealed with a high-quality conformal coating material. Even better results can be obtained with point-to-point up-in-the-air wiring [72].

Conclusions
The design of analog front-end circuitry in piezoelectric or microphone detection of photoacoustic signals depends strongly on the type of the input sensor, application, and acceptable cost of the system. The first stage amplifier must work in a charge or voltage configuration. In any case, a low-noise and low EMI approach are critical. It is possible to design an analog front end for which the specification will be comparable with high-priced commercial solutions for a fraction of their costs (less than $100).
Open Access This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.