Introduction

Hydrogen sulfide (H2S) gas is one of the most dangerous gases for humans, due to its toxicity, flammability and being colorless [1]. In addition to its poisonous characteristics, it is mandatory to monitor H2S in various industries, such as coal mining, oil and gas extraction and petrochemical refining. Current commercial sensors work in high temperature, and have disadvantages, such as high cost and high power consumption [2,3,4]. Therefore, it is necessary to develop a fast and safe method to detect H2S gas in low concentrations with high sensitivity.

Nowadays, nanomaterials have attracted a lot of attention due to their unique electrical, optical, magnetic and mechanical properties, and many efforts have been made to improve their fabrication [5, 6]. They are a good candidate in various applications, such as gas sensors [7,8,9,10], biosensors [11, 12], magnetic [13] and optoelectronic devices [14].

Among them carbon-based materials, such as graphene and carbon nanotubes are promising candidate, for gas sensing solutions due to their inherent properties, such as large surface to volume ratios, size compatibility and capability to provide high sensitivity. They can be used as a channel in a field effect transistor (FET), or as a resistor between two electrodes. In this type of sensor, because of interaction between adsorbed gas molecules and nanomaterials, electrical properties of the device changes and gas molecule can be detected. These sensors, unlike traditional gas sensor, exhibit faster response, higher sensitivity, smaller size and lower working temperature [15,16,17,18]. However, the gas sensing response of graphene and carbon nanotubes is weak, due to the strong sp2 bonds of the network, characterized by a low chemical reactivity. To overcome this problem and also for designing a sensor with high selectivity, functionalization of their surface is necessary. It is shown that functionalization with metal nanoparticles, play a crucial role in producing gas sensors with high sensitivity [19,20,21,22,23,24,25,26,27,28]. Different experimental and theoretical studies have been performed for functionalization of carbon nanotubes and graphene, with metal nanoparticles, as the gas sensor [29,30,31,32,33,34,35]. For example, Yoosefian theoretically showed that intrinsic single wall carbon nanotube (SWCNT), cannot adsorb NH3 gas molecules suitably, but SWCNT functionalized with palladium (Pd), facilitate adsorption of NH3 gas, leading to the high selectivity and fast response of the device [33]. Due to charge transfer between gas molecule and Pd, current changes, and detection will be possible. Berahman theoretically investigated the effect of functionalized graphene with Cu nanoparticles, as an H2S gas sensor, and showed that due to the strong bond between Cu and H2S and charge transfer from H2S to Cu, detection is possible [34]. Fam et al. fabricated an H2S gas sensor, based on SWCNT, decorated with silver nanoparticles. They showed that due to permanent bonding between Ag and S, the current decreases and detection is possible. Their sensor is selective resect to No and Co gases, because the interaction between Ag and H2S is stronger than interaction between Ag with No and Co. Nevertheless, due to the strong chemical interaction between Ag and H2S, the sensor is not regenerated [35].

Asad et al. fabricated a flexible H2S gas sensor, based on SWCNT, decorated with Cu nanoparticles. They showed that due to catalytic properties of Cu, the sensor shows a fast response and recovery time. Also, the sensor is selective, in respect to H2, ethanol, acetone and methane gases, and the response of the sensor is reproducible [29].

In this study, we investigated the sensing ability and mechanism of SWCNT, decorated with palladium nanoclusters (Pd-SWCNT), sandwiched between two gold electrodes, as an H2S gas sensor, as it was reported experimentally by Star et al. [31] that carbon nanotubes decorated with Pd nanoparticles, show better response towards H2S gas. Our analysis is carried out at the level of density functional theory (DFT) [36], combined with the non-equilibrium Green’s function (NEGF) method, for calculation of quantum transport [37].

The rest of the paper is classified as follows: in “Methods”, theoretical method and computational details are presented. In “Results and discussions”, transport properties of Pd-SWCNT, once with no H2S molecules in the system [state (a)] and once with H2S molecules [state (b)] in the system are computed. At first, current and sensitivity of the system in the state (a) and state (b) at different bias voltages, are computed and optimized voltage for the sensor is defined. After that, projected density of states (PDOS), transmission coefficient T(E) at optimized bias voltage for the sensor in the state (a) and (b), are calculated and discussed in details. Then sensing mechanism of sensor is analyzed with calculation of charge transfer by Mulliken Pop analysis. Finally, in “Conclusions” the paper is summarized and followed by conclusions.

Methods

Simulation details

The proposed sensor comprises three major sections, namely a right-hand side and a left-hand side electrode, and the device region or transducer of the sensor. The electrodes are semi-infinite gold (111) crystals, while the device region consists of a functionalized semiconducting (8,0) SWCNT, nearly 100 Å long, with five Au layers on each side. The gap between the SWCNT i.e. Au/CNT/Au junctions and the Au layers was set to 2 Å. Six sites of adsorption, made up of 1 Pd cluster, have been modeled on the CNT. In order to study the behavior of the gas sensor, we first need to find the optimized geometries of the sensor, with having no H2S and with H2S molecules in the system. The minimization process has been carried out, for which we use conjugated gradient method [38], and chemical force field, based on AVOGADRO software in the state (a) and (b) [39]. The coordinates of atoms for the optimized geometry have been used, as the input file for SMEAGOL software [40, 41]. Here, we have carried out electrical/quantum transport calculation, using SMEAGOL code, taking advantage of SIESTA [42], as its DFT platform. Hamiltonian and overlap matrices in SMEAGOL, are generated by DFT method. Hereunder, the mathematical equation for constructing Hamiltonian, and overlap matrices is expressed:

$$H_{IJ}^{\alpha \beta } = \left\langle {\varphi^{\alpha } \left| {H(n)} \right|\varphi^{\beta } } \right\rangle$$
(1)
$$S_{IJ}^{\alpha \beta } = \left\langle {\varphi^{\alpha } \left| {\varphi^{\beta } } \right.} \right\rangle .$$
(2)

In the above equations, α and β represent the SIESTA numerical atomic orbital basis sets, \(H(n)\) labels the Hamiltonian operator, and n is the electron density. The ‘partition’ symbolizes I and J, takes the values L, R or D, indicating the left and right electrodes and the sensing region of the device. The core concept in the non-equilibrium Green’s function method is the retarded Green’s function of the device-sensing region, which reads [41]:

$$G_{\rm D}^{\rm R} (E) = \left[ {\varepsilon^{ + } S_{\rm DD} - H_{\rm DD} - \sum\nolimits_{\rm L}^{\rm R} {(E) - \sum\nolimits_{\rm R}^{\rm R} {(E)} } } \right]^{ - 1}$$
(3)

where \(\mathop \varSigma \nolimits_{\rm L,R}^{\rm R} (E)\) are the electrode self-energies. These can be calculated as:

$$\sum\nolimits_{\rm I}^{\rm R} {(E)} = \left( {\varepsilon^{ + } S_{\rm DI} - H_{\rm DI} } \right)G_{\text{II}}^{\rm R} (E)\left( {\varepsilon^{ + } S_{\rm ID} - H_{\rm ID} } \right)$$
(4)

In the Eq. (4), \(\mathop \varepsilon \nolimits^{ + } = \mathop {\lim }\limits_{{\delta \to 0^{ + } }} E + {\text{i}}\delta\) is the energy, \(\mathop G\nolimits_{{{\rm I}{\rm I}}}^{\rm R} (E)\) is the retarded Green’s function of electrodes [38]. The equation includes multiplication of infinite matrices, a closed form for \(\mathop \varSigma \nolimits_{\rm L,R}^{\rm R} (E)\) exists that requires only information about electrodes’ unit cells and the coupling of electrodes’ surface to the device region [41].

The electron density is calculated by the equation below:

$$n\left( {\overrightarrow {r} } \right) = \left\langle {\left. {\overrightarrow {r} } \right|D\left| {\overrightarrow {r} } \right.} \right\rangle ,$$
(5)

where, D is the density matrix, which can be written by lesser Green’s function \(G_{\rm D}^{ < }\), [38] as follows:

$$D = \frac{1}{2\pi i}\int {G_{\rm D}^{ < } (E){\text{d}}E} ,$$
(6)

where, in case equilibrium the lesser Green’s function is

$$G_{\rm D}^{ < } (E) = - 2i\text{Im} \left[ {G_{\rm D}^{\rm R} (E)f(E - \mu )} \right].$$
(7)

The set of Eqs. (1) to (7) form a set of self-consistent equations, which can be iteratively solved to find \(G_{\rm D}^{\rm R}\), since \(G_{\rm D}^{\rm R}\) yields all the necessary data, to picture the electronic structure of the sensing region, together with electrodes.

The current, passing through the scattering central region is calculated by the Landauer formula [37]:

$$I(V) = \frac{{2e^{2} }}{h}\int\limits_{ - \infty }^{\infty } {T(E,V)\left[ {f(E - \mu_{\rm L} ) - f(E - \mu_{\rm R} )} \right]} {\text{d}}E,$$
(8)

where, L and R denote left and right electrodes, respectively, \(T(E,V)\) is the transmission coefficient, which is a function of the energy and bias voltage (the voltage applied across the electrodes). \(f_{\rm L/R}\) is the Fermi–Dirac distribution function and \(\mu_{\rm L/R}\) is the electrochemical potential.

In Eq. (8), transmission coefficient is calculated as follows:

$$T = \rm Tr\left[ {\Gamma_{\rm L} G_{\rm D}^{\rm R*} \Gamma_{\rm R} G_{\rm D}^{\rm R} } \right],$$
(9)

where

$$\Gamma_{\rm L,R} (E) = i\left[ {\sum\nolimits_{\rm L,R}^{\rm R} {(E) - \sum\nolimits_{\rm L,R}^{\rm R*} {(E)} } } \right].$$
(10)

We have only made use of minimal basis sets for SWCNT atoms, so that the cost of computation will be low, taking into account the fact that only the states around the Fermi level EF, are the most important to transport property calculations [28]. Similarly, we took d orbital of gold atoms in the core into account and only used the 6 s Shell, as the orbital of the valence band of the gold atoms [11]. For the sulfur atoms in H2S molecules, S atoms have been brought into computation, by assigning single zeta polarized basis sets, while for the hydrogen atoms, a single zeta basis has been used. For the Pd atoms, also a single zeta basis set has been applied. Exchange–correlation energies have been calculated, using Local Density Approximation (LDA), in Ceperley–Alder form [43]. The Convergence tolerance, i.e. tolerance in maximum difference, for the density matrix calculation has been set to \(10^{ - 4}\). On the other hand the mesh cut-off, which is the equivalent plane-wave energy cut-off for the real-space grid, was set at 200 Ry. We also used 1 × 1 × 80 Monkhorst scheme k-grid of electrodes (the total number of Au atoms in the electrodes’ cell was 144). The super cell size is chosen, to avoid any image-cell interaction. We have used periodic boundary conditions, in the orthogonal direction, in respect to the direction of transport.

Amongst the outputs of the simulation, three files have been obtained: a file containing current voltage points, used to draw the IV Curve, a second file containing transmission coefficient energy points that can be used to plot transmission as a function of energy, and a third file related to PDOS that must be post-processed by fmpdos utilities of SIESTA to calculate projected density of states over carbon atoms of carbon nanotube. The resulting file can be used to draw PDOS over carbon atoms, as a function of energy.

Results and discussions

In this study, we have investigated the sensing ability of the single wall carbon nanotube, decorated with Pd nanoclusters, as an H2S gas sensor. For this purpose, we have calculated and compared the electrical properties of the Pd-SWCNT, in the state (a) and (b). Initially, the optimized structure of the sensor in the state (a) and (b) is acquired, by molecular dynamic simulations. The results are presented in Fig. 1. Then the electrical current of the device is calculated in the state (a) and (b), at different bias voltages, and presented in Table 1 and Fig. 2. As presented in Fig. 2, for two states of (a) and (b), the current was increased, with an increment in the amount of bias voltage. Also in constant voltage, adsorption of H2S gas, caused a significant decrease in the current, consistent with experimental results [31]. In conclusion, we can state that H2S molecules can alter the conductance of the device considerably, and the sensor can be used, as an experimental senor.

Fig. 1
figure 1

Geometry of the conductometric H2S sensor, based on carbon nanotube, decorated with Pd groups. Hydrogen atoms (white), sulfur atoms (green), gold electrodes (yellow), CNT (gray) and palladium clusters (purple)

Table 1 Calculated current (μA) and sensitivity at different bias voltages in state (a) and (b)
Fig. 2
figure 2

The current–voltage characteristics for state (a) (solid line) and (b) (dash line)

As seen in Fig. 2, the response of the device to H2S gas is different, at different bias voltages, so we have calculated the sensitivity of the device at different bias voltages, in order to find the optimized voltage for the sensor.

The sensitivity is determined as follows:

$$S(\% ) = \frac{{\left| {R - R_{0} } \right|}}{{R_{0} }} \times 100,$$
(11)

where R0 and R are the resistivity of device in the state (a) and (b), respectively. Results are presented in Table 1. As presented in Table 1, at 40 mV bias voltage, the sensitivity is maximized. Therefore, we have studied the transport properties of the sensor and sensing mechanism, in this bias voltage.

We have calculated the PDOS over the SWCNT and the transmission coefficient of the sensor in the state (a) and (b), as a function of energy at 40 mV bias voltage (Fig. 3a, b, respectively). In all figures, the energy zero is set to the Fermi energy of the Au electrode. Initially, we investigated the results of the case without any H2S gas molecules (solid line in Fig. 3). As presented in Fig. 3a continuous states, seen in the PDOS diagram relate to the conduction band of the SWCNT, decorated with Pd nanoclusters. We can clearly see that the conduction band edge is at − 0.268 eV, below the Fermi level. As a result, the Pd-SWCNT is a degenerate n-type semiconductor. Also, there are some small, localized states at − 0.6 and − 0.9 eV energies, in the band gap region.

Fig. 3
figure 3

Electronic and transport properties of the sensor, before (solid line) and after H2S gas adsorption (dashed line). a The projected density of state over CNT, as a function of energy in the state (a) and (b). b The related transmission coefficient as a function of energy. Here, T(E) is plotted in logarithmic scale

Transmission coefficient, as a function of energy is presented in the Fig. 3b. T(E) is the probability of transmission of one electron, from one to another electrode. There is a good agreement between PDOS and T diagram. As seen in the figure, T(E) increases sharply to about 1, at the onset of the CNT conduction band, placed at − 0.268 eV. The presence of localized states, at − 0.6 and − 0.9 eV in the mid gap region, results in increase of T(E), at that energies and cause mid gap tunneling conductance.

Finally, we analyzed the PDOS and T(E) of the sensor, in the presence of H2S gas (dashed line in Fig. 3), and compared the results, with no H2S gas molecules state. As seen in Fig. 3a, after adsorption of H2S, the conduction band in the PDOS diagram shifts to higher energies. Moreover, due to interaction between Pd-SWCNT and the H2S gas, new localized states appeared at energies, around − 0.5 and − 0.78 eV, and some states at energies near the conduction band edge, disappeared. Disappearing of some states at the conduction band edge, and the shift of the conduction band to the higher energies, lead to the shift of the conduction band edge from − 0.26 to − 0.114 eV. As a result, distance between the Fermi level and the conduction band edge decreased. This effect can be due to reduction of concentration of majority carriers (electrons). Subsequently, we investigated this issue, by calculating the charge density difference in the system.

Change in the PDOS, causes a significant modification in T(E). According to Fig. 3b, after adsorption of H2S the transmission onset at the CNT conduction band shifts to higher energies from − 0.26 to − 0.114 eV, due to the disappearance of some states near the conduction band, and the shift of the entire conduction band to higher energies. In the band gap region, the transmission increased significantly at energies around − 0.5 and − 0.78 eV, due to the presence of localized states in these energies. These mid gap states cause mid gap tunneling conductance, but according to Landuar formula only states in the energy range between − 0.02 and 0.02 eV, participate in the current at 40 mV bias voltage. For that reason, appearing of localized states does not affect the current.

Finally, we aim to interpret the reason for the decrement in current, in case of H2S adsorption. According to Landuar equation, at 40 mV bias voltage, only states in the energy range between \(\pm\) 0.02 eV, contribute to the current. Therefore, we looked at the PDOS and T in this energy window (Fig. 4a, b, respectively). As seen in this energy window, the PDOS and consequently T, decrease in this energy range, after H2S adsorption, and as a result current decrease significantly.

Fig. 4
figure 4

Electronic and transport properties of the sensor, before (solid line) and after H2S gas adsorption (dashed line), in the energy window between ± 0.03 eV. a The projected density of state over CNT, as a function of energy in the state (a) and (b). b The related transmission coefficient as a function of energy. Here, T(E) is plotted in logarithmic scale

The sensing mechanism and the changes in the PDOS and T, after adsorption of H2S gas can be rationalized, by calculating charge density by Mulliken Pop analysis. We computed the change in the charge density of the system, when H2S gas is adsorbed. Charge density difference is defined as follows:

$$\Delta n = n_{{{\text{Pd - SWCNT/H}}_{ 2} {\text{S}}}} - n_{\text{Pd - SWCNT}} - n_{{{\text{H}}_{ 2} {\text{S}}}} ,$$
(12)

where \(n_{{{\text{Pd - SWCNT/H}}_{ 2} {\text{S}}}}\),\(n_{\text{Pd - SWCNT}}\) and \(n_{{{\text{H}}_{ 2} {\text{S}}}}\) are the charge density of Pd-SWCNT/H2S, Pd-SWCNT and H2S gas, respectively. The results are presented in Table 2. As seen in Table 2, after adsorption of H2S charge transfers significantly, from Pd and SWCNT to H2S molecules. Due to the charge transfer, the concentration of majority carriers in SWCNT decreases (because SWCNT decorated with Pd nanoclusters is n-type semiconductor), consistent with previous finding in the PDOS and current–voltage diagrams (distance between the Fermi energy and the conduction band edge decreased and current decreased). Also, as a result of charge transfer, negatively charged H2S molecules act, as an electrostatic gate and shifts the PDOS, and as a result T(E), to higher energies, consistent with modification of the PDOS diagram and T, after H2S gas adsorption, as mentioned before. Our results show that the sensor can detect H2S gas, with high sensitivity at 40 mV bias voltage, due to a significant decrease in the current, after H2S gas adsorption.

Table 2 Charge transfer in the system after H2S adsorption

Conclusions

In this study, the effect of adsorption of H2S gas on electrical properties of single wall carbon nanotube, decorated with Pd nanoclusters, was investigated between two gold electrodes. For this purpose, current at different bias voltages, in the absence and presence of H2S gas was calculated. Then, sensitivity of the device at different bias voltages was computed and compared. We find that the largest sensitivity takes place at a bias voltage of 40 mV. In this bias voltage, the PDOS and T in two states (a) and (b), are computed, and compared accordingly. After adsorption of H2S gas, the PDOS and as a result T, were decreased significantly, in the energy window between \(\pm\) 0.02 eV, leading to a significant decrease in the current, from 1.53 to 0.89 μA. This reduction is due to the charge transfer from Pd nanoclusters and SWCNT to H2S gas that results in reduction of concentration of majority carriers (electrons). The results show that carbon nanotube, decorated with Pd nanoclusters can be a promising candidate, for fabrication of FET gas sensors.