1 Introduction

Organic thin-film transistors (OTFTs) as typical modern electronics have been highly developed and employed into various applications in recent years [1,2,3]. Compared with their inorganic counterparts, OTFTs use a wide range of organic semiconductors that allow low-temperature processes along fabrication. Conventional metal-based sensors are known to be sensitive and stable toward many analytes; however, organic transistors hold better bio-compatibility which allow them to be used in biosensing applications. In addition to multi-parameter producibility, flexibility and improved sensitivity and stability, OTFTs have shown the potential to exceed inorganic devices in the sensing area [4]. A diverse range of OTFT sensors have been reported in recent years aiming at different analytes [5,6,7]. The target analytes have been mainly focused on nitrogen dioxide, hydrogen sulfide and ammonia. There were few studies of OTFTs sensing on biogenic amines in vapors and aqueous solutions, but none has set putrescine as main analyte for sensing [8,9,10].

Putrescine (PUT), also known as 1,4-diaminobutane or butanediamine, is mostly produced through polyamine metabolism in cell proliferation and organism growth as an intermediate [11]. In addition, PUT can be massively released by spoilage from manifold food products especially fermented ones [12, 13]. It was proven that health issues could be aroused with high consumption of PUT in a short time [14, 15]. In food industry, PUT has been used as quality index in food productions, and employed as one of the most important indicators of food spoilage [16, 17]. PUT detection is usually based on laborious analysis with HPLC, GC, UV, etc. However, such methods need complicated sample pretreatment and buffer preparation which consumes long time [18,19,20]. There have been several techniques and methods including near field communication (NFC) technology, protein-based biosensor and molecular imprinting technique to be used in the detection of PUT [17, 21, 22].

Since 2005, diketopyrrolopyrrole (DPP)-based polymers have been broadly investigated for OTFT applications due to their remarkable properties of charge transport and air stability [23, 24]. In gas sensing area, OTFTs-based sensors with DPP polymers exhibited high sensitivity and ideal stability for detection of many inorganic gaseous analytes as well as several organic compounds [25]. In this paper, we report an OTFT sensor based on a diketopyrrolopyrrole polymer poly[2,5-bis(2-octyldodecyl)pyrrolo-[3,4-c]pyrrole-1,4(2H,5H)-dione-alt-2,2′:5′,2″:5″,2‴-quaterthi-ophene] (PDQT) to detect PUT vapors. Two groups of sensors were made with different active layer thickness. Stability of both groups was investigated, where the sensors with thicker layers showed better stability among 8 weeks of storage. Fast responses and recovery were observed for the PDQT sensors upon exposure to PUT vapors from 0 to 100 ppm. Sensitivity of the sensors was evaluated with current relative responses as a function of exposed PUT concentrations. Limit of detection (LOD) was found at 13 ppm with the thicker-layer sensors and 3 ppb with the thinner-layer sensors. Selectivity of the sensor was investigated with acetone, ethanol, toluene, cadaverine and ammonia. The PDQT sensors showed a satisfied discrimination toward ammonia and biogenic amines. To further explore the potential in practical freshness monitoring, food-emitted vapors were used to test sensibility of the PDQT sensors. Responses of the sensors met the expectation in detection of vapors emitted from food samples stored for 1–3 days.

2 Experimental section

2.1 Fabrication and characterization

Poly[2,5-bis(2-octyldodecyl)pyrrolo-[3,4-c]pyrrole-1,4(2H,5H)-dione-alt-2,2′:5′,2″:5″,2‴-quaterthiophene] was prepared by Stille coupling following the synthesis route reported by Ha et al. [26]. Structure and energy levels of PDQT are presented in Fig. 1. Number average and weight average molecular weight of PDQT were measured with gel permeation chromatography (GPC) at 150 °C with 1,2,4-trichlorobenzene as eluent and polystyrenes as standard. 1H NMR spectra were measured on a Bruker AVANCE III 400 MHz spectrometer in CDCl3, and the chemical shifts were referenced to internal tetramethylsilane (TMS).

Fig. 1
figure 1

Chemical structure and energy level of PDQT

Bottom-gate, bottom-contact OTFT devices were fabricated on heavily n++-doped silicon wafers with ~ 300 nm thermally grown SiO2 top layer (capacitance of ~ 11 nF cm2). Gold source and drain patterns were deposited by thermal evaporation on the SiO2 layer using a conventional lithography technique. The device dimensions of the PDQT transistors were W = 15,800 μm, L = 30 μm. Transistors were sonicated with acetone and 2-propanol for 20 min, respectively, to remove oxidized gold and carbonaceous residues. Then, an air plasma treatment was carried out for 2 min, followed with ethanol and chloroform cleaning. Octane-thiol (ODT) treatment with 10 mM ODT in ethanol solution was used afterwards, to form self-assembled monolayers on gold. Subsequently, a dodecyltrichlorosilane modification was used to form self-assembled monolayers on the dielectric layer. The OTFT devices were then washed by toluene and dried out in the glovebox (argon).

Thin layers of PDQT were spin-coated on the cleaned transistors in the glovebox with 5 mg/mL polymer solutions in chloroform. Subsequently, thermal annealing was carried out at 150 °C in the glovebox (argon). The regular PDQT sensors were fabricated at spin-coating speed of 3000 rpm and annealed for 30 min. A group B of PDQT sensors were fabricated at spin-coating speed of 4000 rpm and annealed for 1 h. Film thickness and quality were examined by atomic force microscopy (AFM) with a dimension 3100 scanning probe microscope. X-ray diffraction patterns were obtained using a Bruker D8 Advance Discover diffractometer with Cu Kα radiation (λ = 1.5418 Å). At least 5 devices were tested from each batch of the fabricated transistors.

Agilent B2912A source measurement unit analyzer was used for sensors characterization and sensing evaluations. Field-effect mobility of the PDQT sensor was calculated in the saturated region of the transfer curve according to Eq. 1:

$$I_{{{\text{DS}}}} = \mu \frac{CW}{{2L}} \cdot {(V_{{{\text{GS}}}} - V_{{{\text{TH}}}})^2}$$
(1)

where IDS is the drain–source current. µ is the field-effect charge mobility of the device. C is the gate dielectric capacitance per unit area. W is the channel width, and L is the channel length of the device. VGS is the gate voltage. VTH is the threshold voltage.

2.2 Sensing evaluation

All vapors were prepared by controllably dilution with dry air and presented in analyte volume/air volume (v/v) form. Electrical properties of the PDQT sensors were characterized before and after PUT vapor exposure. To obtain real-time responses of the sensor, IDS versus time measurement was used at operational VGS = VDS = − 100 V. Response time of the sensor was calculated as the time period between vapor injection and 90% of current changes caused by gas exposure. Relative response of the sensor was calculated by the following equations:

$$\begin{aligned} I_{{{\text{DS}}}} \;{\text{fraction}} \;\left( {{\text{diluted}}\;{\text{ PUT}}} \right) & = {{\left. {{\Delta I}_{{{\text{DS}}}} {\text{ (gas}}\;{\text{ inject}}} \right)} \mathord{\left/ {\vphantom {{\left. {{\Delta I}_{{{\text{DS}}}} {\text{ (gas}}\;{\text{ inject}}} \right)} {\left. {\Delta I_{{{\text{DS}}}} ({\text{pristine}}} \right)}}} \right. \kern-\nulldelimiterspace} {\left. {\Delta I_{{{\text{DS}}}} ({\text{pristine}}} \right)}} \\ & = {{\frac{{I_{{{\text{DS}}}} \left( {T_{2} } \right) - I_{{{\text{DS}}}} \left( {T_{1} } \right)}}{{T_{2} - T_{1} }}} \mathord{\left/ {\vphantom {{\frac{{I_{{{\text{DS}}}} \left( {T_{2} } \right) - I_{{{\text{DS}}}} \left( {T_{1} } \right)}}{{T_{2} - T_{1} }}} {\frac{{I_{{{\text{DS}}}} \left( {T_{1} } \right) - I_{{{\text{DS}}}} \left( {T_{0} } \right)}}{{T_{1} - T_{0} }}}}} \right. \kern-\nulldelimiterspace} {\frac{{I_{{{\text{DS}}}} \left( {T_{1} } \right) - I_{{{\text{DS}}}} \left( {T_{0} } \right)}}{{T_{1} - T_{0} }}}} \\ \end{aligned}$$
(2)
$$\begin{aligned} {\text{Relative}}\;{\text{ response}}\; \left( \% \right) & & = & \\ & {{I_{DS} \;{\text{fraction }}\;\left( {{\text{diluted }}\;{\text{PUT}}} \right)} \mathord{\left/ {\vphantom {{I_{DS} \;{\text{fraction }}\;\left( {{\text{diluted }}\;{\text{PUT}}} \right)} {I_{DS} \;{\text{fraction}}\; \left( {{\text{saturated }}\;{\text{PUT}}} \right)}}} \right. \kern-\nulldelimiterspace} {I_{DS} \;{\text{fraction}}\; \left( {{\text{saturated }}\;{\text{PUT}}} \right)}} \times 100\% \\ \end{aligned}$$
(3)

where T1 was the time when analyte was injected. T2 was the time when current reached to 90% of the largest extent caused by vapor exposure. \((T_{1} - T_{0} = T_{2} - T_{1} = {\text{response }}\;{\text{time}})\)

Sensitivity of the sensors was evaluated by plotting relative responses and signal to noise ratio (SNR) as a function of PUT concentration, where SNR was extracted from the IDS versus time plots. Limit of detection (LOD) was determined as the PUT vapor concentration when SNR = 3.

3 Results and discussion

3.1 Transistor characterization

1H NMR of the PDQT is shown in Figure S1. Number average molecular weight (Mn) of PDQT was measured to be 20 kg mol−1 and weight average molecular weight (Mw) was 51 kg mol−1. PDQT thin films of the sensors were characterized with AFM. As shown in Fig. 2a, a bush-like surface of PDQT thin layer with small “gaps” can be seen with the sensor with regular layer thickness. Distributions of these small “gaps” are quite even to produce a smooth and continuous layer of PDQT which facilitated charge transport and gas adsorption. Between two groups of PDQT sensors with different layer thickness, surface of the regular sensors showed a higher degree of roughness with larger grains (Figure S2a). Layer thickness of the group B sensors was measured as ~ 25 nm, which was 4 nm thinner than the regular sensors that gave better smoothness of the active films (Figure S2b). Average layer thickness of the PDQT OTFT devices without PUT exposure was around 29 nm (measured by 10 devices). With PUT vapor exposure, PDQT films got thicker. As shown in Fig. 2b and c, the PDQT sensor exposed to dry PUT vapor showed only slight increase of layer thickness and higher degree of roughness, while wet PUT exposure caused an additional increase of layer thickness but smoothened the surface of PDQT.

Fig. 2
figure 2

a 3D AFM image of the PDQT film without PUT exposure. Layer thickness = 29 nm. Rq = 0.458 nm. b AFM image of the PDQT film exposed to dry putrescine vapor (75 ppm). Layer thickness = 30 nm. Rq = 0.464 nm. c AFM image of the PDQT film exposed to wet putrescine vapor (75 ppm). Layer thickness = 34 nm. Rq = 0.455 nm. [regular sensors]

Electrical properties of the PDQT sensors are listed in Table S1. An enhancement of mobility was observed when tested the sensors in air compared to which in argon, which was possibly ascribed to the oxygen in air that interacted with the golden contacts to lower the hole injection barrier [27]. On the other hand, moisture in air showed a small effect on charge transport of the PDQT devices as shown in Table S1. As mentioned before, semiconducting layer thickness of the sensor got increased by 5 nm with wet PUT vapor exposure. Compared with the film exposed to dry PUT, such increase of thickness was likely due to the adsorption of water molecules, whereas, according to transistor parameters, water adsorption showed only small effect on charge transport of the sensor. Transistor performance of the sensors in group B was significantly poorer than the regular ones. Mobility of this group of devices was less than half of the regular ones. In addition, VTH of these sensors was much larger as well. Ion/off of the group B devices was only reached 103. Although mobility of the OTFT devices generally increases with thinner active layers, it has been reported that bias stress effect would be increased at lower thickness which would affect charge transport and cause shifts of VTH [28]. In this study, spin-coating speed of the coating process has been set from 1000 to 5000 rpm. From 1000 to 3000 rpm, mobility of the devices showed a tendency of increase. However, with higher spinning speeds, mobility of the devices decreased severely. The highest mobility of the regular PDQT sensors was 0.304 cm2 V−1 s−1 in air (Fig. 3a and b). Reproducible results were observed with devices made from more than 10 batches. Upon exposure to 20 ppm PUT, PDQT sensor showed a prompt mobility decrease along with threshold voltage shifted negatively (Fig. 3c and d). But after 30 s of PUT injection, mobility of the sensor recovered nearly 88% and VTH recovered over 90% (Figure S3).

Fig. 3
figure 3

a Output and b transfer characteristics of the PDQT sensor without PUT exposure; c output and d transfer characteristics of the PDQT sensor after exposure to 20 ppm PUT

3.2 Sensing properties

For practical applications, stability is an important aspect to be fulfilled. In this study, storage stability as well as operational stability was evaluated. Storage stability of PDQT sensors was evaluated with mobility changes of the devices. Long-term air stability of the regular PDQT devices showed a total drop of mobility less than 12% over 8 weeks of storage (Fig. 4a). Upon weekly exposure to PUT vapors (20 ppm), mobility of the regular sensors showed a relatively large decline when stored in argon, while less decline was seen when stored in air (Fig. 4b). For the sensors in group B, much degradation was observed within only 4 weeks of storage (Figure S4), which demonstrated poor stability. Operational stability of the PDQT sensors was evaluated by measuring IDS along time under continuous bias. As shown in Fig. 4c, the sensor showed current degradation with constant bias set at − 100 V. After ~ 10 s of PUT vapor exposure, IDS of the sensor showed a nearly linear decreasing trend. By PUT exposure, current of the sensor decreased to a significant extent. With an extended period of time, current of the PDQT device gradually recovered to ~ 80% of the original level. It has been noticed that for the OTFT devices, operational stability would be significantly affected by oxygen and water molecules in ambient conditions combined with large operation power density [29, 30].

Fig. 4
figure 4

a Mobility changes of the sensors stored in air. b Mobility changes of the sensors stored in argon and air upon weekly exposure to 20 ppm PUT. c IDS flows of the sensors under constant bias. [regular sensors]

IDS drops of the sensors were observed in the real-time detection tests as well (Fig. 5a). Despite the abovementioned current degradation, IDS flows along time under continuous bias made it easy to show the real-time responses of the sensors when exposed to target analytes. As shown in Fig. 5a, regular PDQT sensors gave fast responses toward PUT vapors injection. The average response time arrived at around 2 s for over 10 devices. Relative responses which were calculated from Ig/I0 showed an s-shape response curve of the sensor exposing to the increased concentrations of PUT (Fig. 5b). Repeating gas sensing tests were carried out with 5 devices to be daily exposed to 45 ppm PUT vapors for 5 days. Responses with an average deviation of 1.5 were seen, which proved the reproducibility and reusability of the PDQT sensors (Figure S5a). Repeatable responses were observed in the multiple exposure tests on the same device as well (Figure S5b). Responses of the sensor showed that upon exposure to PUT vapors over 75 ppm, current of the sensors got instantly saturated, which suggested the maximum detectable concentration of PUT for the PDQT sensors to be 75 ppm. Limit of detection for the regular PDQT sensor was found at 13 ppm (SNR = 3) (Fig. 5b).

Fig. 5
figure 5

a Real-time detection of the PUT vapors with different concentrations. b Relative responses of the sensors toward PUT vapors from 0 to 100 ppm.[regular sensors] c PDQT sensors with thinner layers sensing ppb levels of PUT vapors. [group B sensors]

Compared with the regular PDQT sensors, group B devices with thinner active layers exhibited an ultra-high sensitivity (Fig. 5c). Ppb-level of the PUT vapors were successfully detected. LOD of this group of sensors reached 3 ppb (SNR = 3), which was close to detection limit of the fluorescent sensors reported by Hu et al. (LOD = 2.6 ppb) and surpassed the NFC sensors presented by Ma et al. (LOD = 5 ppm) in 2018 [17, 31]. For OTFT-based sensors, it was proved that thinner active layers would lead to a better sensitivity [32]. In spite of its poor environmental stability, this group of thinner-layer sensors showed higher sensitivity toward PUT vapors. Proper way of encapsulation might be applied in the future to allow better stability of such highly sensitive sensors to be used in practical applications.

To investigate selectivity of the regular PDQT sensors, 5 vaporous analytes were tested in addition to PUT (Fig. 6). IDS reduction was observed upon exposure to these 5 types of vapors. Non-amine analytes including acetone, ethanol and toluene, were made into 75 and 200 ppm vapors to test on PDQT sensors (Figure S6a). Only small responses were observed by 200 ppm exposure of acetone and toluene. For ethanol vapors, no response was recorded. On the other hand, 45 ppm of cadaverine (CAD) and ammonia caused significant responses of the sensor. Compared with PUT, responses toward cadaverine with the same concentration were lower, while the responses toward ammonia were around the same level with PUT (Figure S6b and c). Therefore, the PDQT sensor showed a selectivity toward NH3 and biogenic amines against non-amine vapors.

Fig. 6
figure 6

Relative responses of the regular PDQT sensors toward different vapors (tested on 5 devices)

AFM images of the PDQT films exposed to acetone, ethanol and toluene are presented in Figure S7. Compared to the film exposed to dry PUT vapor (Fig. 2b), PDQT layers exposed to non-amine analytes showed lower roughness and similar impact in thickness changes. As shown in the XRD patterns in Figure S8, d-spacing of PDQT sensors exposed to any vapors was calculated to be 1.99 nm (by Bragg’s Law). Combined with AFM and gas sensing results, crystallinity changes of the devices were possibly induced by moisture adsorption. Upon PUT injection, lone pairs of electrons which might interact with thiophene could trap the charges across the channel to increase trap charge density on the interface of semiconductor/dielectric [33]. Such trapping or de-doping effect was reflected in the negative VTH shifts in the PDQT sensors when exposed to PUT. The trapped charges hindered the flow of free hole charges which resulted in current decreases and mobility drops of the sensor. In addition, current flow of the PDQT sensor recovered to its original degrading tendency right after PUT injection, which likely indicated a weak physical absorption (Van der Waals force) of the PUT by PDQT. By sensing the ammonia and cadaverine, PDQT sensors gave a larger difference between CAD and PUT, and closer responses between PUT and NH3, which indicated a relatively insignificant effect of basicity. The sensitivity differences among PUT, ammonia and cadaverine was likely due to the steric effect given the different sizes of these molecules.

Spoilage detection with food emitted vapors was attempted using peas, fish and chicken which were stored in the fridge and at room temperature (Figure S9). Increased responses were seen from the sensors with a prolonged storage time of food samples (Figure S10). For practical applications of the OTFT-based sensors, lower operating voltages and better stability are expected. To lower the drive voltage, gate materials with high dielectric constant can be used [34]. In addition, hybrid dielectrics might be employed to increase the capacitance per area (C) [35]. It has also been well proved that the decrease of film thickness would help to lower the operating voltage. In this study, PDQT sensors with thinner layers exhibited a high sensitivity but a lack of stability which might be induced by high operating voltages [36]. To improve stability while applying lower drive voltage, proper encapsulation can be added to the devices with thinner layers.

4 Conclusions

In summary, OTFT-based sensors with the diketopyrrolopyrrole–thiophene polymer PDQT were applied in real-time detection of PUT vapors under ambient conditions. An average response time of 2 s was realized in ambient operations. Detection limits reached 3 ppb with a group of sensors with thinner active layers. Sensors with thicker layers showed better stability along 8 weeks of air storage as well as ideal reusability. PDQT sensors showed significant selectivity toward PUT, CAD and ammonia against acetone, ethanol and toluene, which showed potential for such sensors to be used in freshness monitoring. Preliminary test on food emitted vapors was carried out, in which PDQT sensors gave promising responses. Device optimization with the addition of the encapsulation layer or modification of dielectrics can be applied to further improve sensing performance and lower the drive voltage for practical applications.