1 Introduction

Hydrogen sulfide (H2S) gas pollution is considered a crucially poisonous to humans, especially at locations with high production yield such as petroleum extraction, refining, and transportation facilities [1]. It is distinguished with its odor that smells like a rotten egg that is well known at mineral water of thermal springs [2]. The development of efficient sensors is vital for environment monitoring and control in fields that involve H2S emission. Recently, there have been major achievements in the field of gas sensing by different systems including nanomaterials, nanoclusters, and graphene-based materials [3,4,5].

Nanoparticles consist of groups of atoms with nanometer size, and their chemical and physical properties are unlike their bulk counterparts [6]. Their nanometer size leads to a large percentage of surface atoms that represent active chemical reactive sites [6, 7]. Exposure of nanoparticles to a reactive gas causes its adsorption on the surface sites, thus, change the density of free electrons. As a result, the electrical current signal through a network of nanoparticles is modified [8, 9]. Such a modification in the current signal can be utilized to measure the amount of reactive gas. Conductometric gas sensors are devices that contain networks of nanoparticles that are sensitive and selective to certain gases, and their response signals are measured as the changes in electrical conductance. Those sensors are functional at low gas concentrations and feasible to fabricate with reasonable production cost [10,11,12].

Metal-oxide nanoparticles are known for their functionality in the field of gas sensing because of gas adsorption on their surfaces that leads to release of free electrons [13, 14]. Spinel ferrite nanoparticles are of a particular interest for gas sensors. Ferrites exhibit a general composition of MFe2O4, where M can be a metal atom such as Cu, Zn, and Ni. Utilization of spinel ferrite nanoparticles for device applications promotes materials’ recycling because of their magnetic properties that enable their recovery. Copper and zinc spinel ferrites (CuFe2O4 and ZnFe2O4) are novel spinel ferrites that exhibit a crystal structure of cubic close-packed [15,16,17].

Pure ferrite nanoparticles of CuFe2O4 and ZnFe2O4, as well as mixed Cu–Zn ferrite nanoparticles, are synthesized in this work. The nanoparticles’ size, composition, crystal structure, electrical characteristics, and gas sensing properties are examined. The nanoparticles are produced following the sol–gel auto-combustion technique. Scanning electron microscopy (SEM) is utilized to investigate the morphology and composition of nanoparticles. Their composition and structure are further confirmed by Fourier transform infrared spectroscopy (FTIR) and X-ray diffraction (XRD). The synthesized nanoparticles are used to fabricate conductometric gas sensors that are tested for their response to H2S and H2 gases. The results reveal that CuFe2O4 nanoparticles are the best in terms of their sensitivity to H2S gas. The produced sensors are simple to fabricate with reasonable cost, and their nanoparticles are reusable since they are magnetic nanoparticles. They also have low operational power requirement; thus, they can be considered for practical applications.

2 Experimental

2.1 Materials

Ferric nitrate salt (Fe(NO3)3·9H2O), copper nitrate salt (Cu(NO3)2·3H2O), zinc nitrate salt (Zn(NO3)2·6H2O), citric acid (C6H8O7·H2O), ammonium hydroxide (NH4OH), poly(vinyl alcohol) (PVA) (molecular weight 61,000 g/mol), and glycerol with purity of 99.5% were purchased from Sigma-Aldrich. Double distilled water was utilized for all synthesis.

2.2 Synthesis of nanoparticles

Pure ferrites of ZnFe2O4 and CuFe2O4 as well as a mixed ferrite of Zn0.5Cu0.5Fe2O4 were synthesized by the sol–gel auto-combustion method. Precise quantities of ferric nitrates (Fe(NO3)3·9H2O) and the corresponding metal nitrate salts [Cu(NO3)2·3H2O and Zn(NO3)2·6H2O] were dissolved individually in distilled water based on their molar proportion. C6H8O7·H2O was then introduced to the nitrate solution with continuous stirring at 80 °C. The experimental molar ratio of ferric nitrate, metal nitrate, and citric acid was 2:1:3, respectively. The pH value was adjusted to 8.0 by introducing NH4OH gradually to the solution. The acquired solution was then evaporated to obtain a viscous gel that was kept overnight at room temperature. The gel product was then burned by a self-propagating auto-combustion reaction that produced a powder that was ash-like. Hereafter, the obtained powder is referred to as “as-prepared.” Further, heat annealing was performed for the as-prepared samples at 500 °C and 750 °C for 5 h.

2.3 Sensor fabrication

A viscous polymeric solution made of PVA and glycerol was used as a binder for nanoparticles on a glass substrate. A 10 wt% of PVA solution was prepared by dissolving 10 g of PVA granules in 100 mL of distilled water at 80 °C with continuous stirring. After being completely dissolved, 50 mL of ethanol was introduced with continuous heating and stirring until a viscous solution was obtained. Glycerol was added at a concentration of 5 wt% to 10 g of PVA solution. Glass slides that are 10 × 10mm2 each were washed in a sonicator bath by means of acetone, ethanol, and distilled water. A small amount of this viscous polymeric solution was cast on the glass substrate, where it acted as a binder. Around 1 mg of nanoparticles were spared on the substrate and then packaged by a drop of the PVA solution. The sample was then heated at 80 °C for two hours.

2.4 Characterization

A scanning electron microscope FEI (QUANTA-250) with an energy-dispersive x-ray spectroscopy attachment (EDS) was used to determine the morphologies and compositions of the ferrite samples. A gold thin film was deposited on samples’ surfaces before SEM and EDS tests to obtain sound resolution. A Bruker ALPHA-Platinum Fourier-transform infrared spectroscopy (FTIR) was utilized to characterize the samples in the range of 400-4000 cm−1. The crystal structures of the prepared ferrites were determined by XRD in the 2θ angle range of 10°-80° using a PANalytical Powder Diffractometer (X’Pert PRO) with Cu-Kα radiation (1.5406 Å) as a radiation source. The crystallite sizes were calculated by Debye–Scherrer formula [18]:

$$ D = \frac{K\lambda }{{B cos\theta }} $$
(1)

where K is Scherrer’s constant (set to 0.89), λ is the wavelength of the XRD radiation, \(\theta\) is the angle of diffraction, B is the XRD peak intensity with full width at half maximum of \(2\theta\) profile, and D is the nanoparticle size in nm [19,20,21].

For electrical characterization, a copper holder with a pair of parallel linear electrodes that were 1.5 mm apart was placed on top of the sample. The parallel electrodes were connected electrically to wires (glued by silver paste) to enable current–voltage (I(V)) and sensitivity measurements. All I(V) and sensitivity measurements were taken on a temperature controlled stage fixed in a Teflon chamber before gas exposure at 25, 80, and 140 °C in a voltage range of −50–50 V using a Keithley Instruments source measurement unit (SMU-236). The temperature of the sample was measured and controlled by a thermocouple (K-type) fixed on the sample surface. The sample was then cooled down to 25 °C, and H2 gas sensing measurements were taken at the same temperatures. Next, the sample was cooled down again to 25 °C and H2S gas sensing measurements were established. The gas sensitivity tests were performed inside the Teflon chamber where the target gas was diluted with air by Bronkhorst mass flow meters. Herein, a gas electrical current response was measured across each sensor at a constant voltage.

3 Results and discussion

The SEM images of the as-prepared and annealed ferrite materials are presented in Fig. 1. The nanoparticles’ sizes are presented in Table 1 which reveals that the sizes increase in general with annealing. The images and Table 1 demonstrate that nanoparticles’ sizes decrease with increasing the Zn content. Altering the Zn:Cu ratios in ZnxCu1-xFe2O4 samples (where x = 0, 0.5, and 1) can be clearly observed in the SEM images. Figure 2 shows the EDS images of the three samples and a table of their average composition (the average in the table is determined from three different measurements). The EDS results clearly confirm the composition of the produced nanoparticles with ratios close to the theoretical values. Figures 1 and 2 reveal the reflection of the variation in the chemical composition of the ferrites on their surfaces’ morphology.

Fig. 1
figure 1

SEM mages of: ac CuFe2O4, df Zn0.5Cu0.5Fe2O4, and gi ZnFe2O4 nanoparticles. The images in a, d, and g are as-prepared; b, e, and h are annealed at 500 °C; and c, f, and i are annealed at 750 °C

Table 1 Nanoparticles’ sizes as determined from SEM and XRD measurements
Fig. 2
figure 2

EDS spectra of a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4 nanoparticles. The table in d presents a comparison of the theoretical and experimental wt% of Zn and Cu

XRD is employed to characterize the phase and crystallinity of the as-prepared and annealed for pure (ZnFe2O4 and CuFe2O4) and mixed (Cu0.5Zn0.5Fe2O4) ferrite samples. The XRD results of the ferrite samples are presented in Fig. 3. The XRD patterns of the as-prepared ZnFe2O4 and CuFe2O4, presented in Fig. 3, agree with JCPDS cards 79-1150 and 77-0010, respectively. These patterns show the distinctive reflection plans that confirm the spinel cubic structure, which are (111), (220), (311), (222), (400), (422), (511), (440), and (533) reflections [20]. All the peaks of the patterns of the as-prepared samples can be indexed as cubic phases of pure ZnFe2O4 and CuFe2O4 ferrites as well as cubic phases of mixed Cu0.5Zn0.5Fe2O4 ferrite. The figure also reveals the effect of annealing the ferrite samples. The crystallinity of these ferrites is observed to develop with sharp and intense peaks upon annealing. By increasing the annealing temperature up to 750 °C, the degree of crystallinity of the ferrites increases which indicates the high quality of the ferrites. Heat treatments of the ferrites are expected to affect their physicochemical properties. The disorder of ferrite surfaces is caused by oxygen vacancies and bond frustration at different sub-lattices on the surfaces. Thus, as the nanoparticle size decreases the disorder becomes more significant. However, the terminated unit cells of the surface are completed by the atmospheric oxygen when the ferrite undergoes heat treatment which reduces its surface strain/stress [22]. The XRD peak at around 35.5° is employed to determine the nanoparticles’ sizes using the Debye–Scherrer formula (Eq. 1). The calculated sizes are presented in Table 1, and they are consistent with the sizes obtained from the SEM images. It should be noted here that the samples include size distributions and agglomerations of nanoparticles that reason disparity in the actual size estimation.

Fig. 3
figure 3

XRD of CuFe2O4, Zn0.5Cu0.5Fe2O4, and ZnFe2O4 nanoparticles. a As-prepared, b annealed at 500 °C, and c annealed at 750 °C

Figure 4 shows the FTIR spectra of the produced spinel ferrite nanoparticles along with pictures of the produced membranes Fig. 4a, c. All spectra exhibit a characteristic vibrational mode νT located around 530 cm−1 that is assigned to the stretching of the tetrahedral group complex (iron-oxygen ions) [23]. The νT mode values for the three types of nanoparticles are introduced in Table 2. The discrepancies in the νT mode values can be generated by the variation in the inter-nuclear distances of Fe+3–O−2. If the cation located in the lattice is shifted by a cation that exhibits a larger ionic radius, it causes an increase in the length of the bond that decreases the force constant for one site or lowers the repulsion among ions. This leads to a reduction in the electrostatic energy and, thus, to a lower wavenumber. The contrary will occur if the cation in the lattice is shifted by a cation of a smaller ionic radius. Table 2 reveals a shift in vT mode values toward reduced wavenumbers as the amount of Zn ions increases. This shift to low frequencies demonstrates that the force constant for Fe+2–O−2 is reducing in ZnxCu1-xFe2O4 in the order of x = 1, 0.5, and 0.

Fig. 4
figure 4

FTIR spectra of a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4 nanoparticles. Each figure presents the FTIR spectra of nanoparticles as-prepared, annealed at 500 °C, and annealed at 750 °C. The insets in a and c are pictures of the produced membranes

Table 2 FTIR absorption band νT mode for CuFe2O4, ZnFe2O4 and Zn0.5Cu0.5Fe2O4 samples

Figure 5 shows the I(V) characteristics measured at 25 °C of the three types of nanoparticles as a function of annealing temperatures. The figure reveals a decrease in the electrical resistance \(\left( {R = \frac{V}{I}} \right)\) with annealing temperature. For CuFe2O4 nanoparticles, the resistances of the as-prepared and 500 °C annealed samples are close, while the resistance of the sample annealed at 750 °C is lower. For ZnFe2O4 nanoparticles, the resistances of both samples annealed at 500 °C and 750 °C are similar and lower than that of the as-prepared sample. This indicates that annealing CuFe2O4 sample at 500 °C is not sufficient to enhance its electrical conductivity, while it is sufficient to enhance its electrical conductivity of the ZnFe2O4 sample. The Zn0.5Cu0.5 Fe2O4 sample must be annealed at 500 °C to enhance its electrical conductivity.

Fig. 5
figure 5

Effect of annealing of nanoparticles on I(V) characteristics for a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4

The response to H2S and H2 gases of the produced sensors is tested as a function of gas concentration and temperature. A gas response test is established by applying a constant voltage across the electrodes of a sensor and measuring the change in the electrical current during gas exposure as shown schematically in Fig. 6a. The insets of Fig. 6b show the gas test chamber. A typical electrical current response signal is shown in Fig. 6b. The figure reveals that the electrical current increases upon exposure to H2S gas with a value that is proportional to the gas concentration. The electrical current signal returns to its reference value once the flow of H2S gas is stopped and the chamber space is “washed” with air. If Iref and Igas represent the electrical current of the reference (without gas) and upon exposure to the target gas, respectively, the sensor gas response can be defined as:

$$ S = \left| {\frac{{I_{{{\text{gas}}}} - I_{{{\text{ref}}}} }}{{I_{{{\text{ref}}}} }}} \right| = \frac{{\left| {\Delta I} \right|}}{{I_{{{\text{ref}}}} }} $$
(2)
Fig. 6
figure 6

a Schematic diagram of the gas sensing setup. b Electrical current measurement signal for H2S gas at 140 °C for a sensor based on Zn0.5Cu0.5Fe2O4 nanoparticles. The insets in b are pictures of the gas test chamber

Figure 7 shows H2S gas sensors’ response as a function of the sensor temperature and gas concentration. The figure reveals, in general, an increase in sensors’ response with increasing the temperature and gas concentration. The sensor based on CuFe2O4 nanoparticles exhibited a higher response toward H2S than sensors that contain Zn. The sensors are sensitive to H2S gas at low temperatures (25 °C) and low concentrations of 10 ppm. The sensors’ response toward H2 gas as a function of sensor temperature and gas concentration is presented in Fig. 8. The figure reveals lower sensors’ responses toward H2 gas as compared with H2S gas. The gas concentration for H2 is different than that of H2S due to the different gas responses.

Fig. 7
figure 7

Response of the fabricated sensors for H2S gas as a function of gas concentration at different temperatures for sensors based on: a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4 nanoparticles

Fig. 8
figure 8

Response of the fabricated sensors for H2 gas as a function of gas concentration at different temperatures for sensors based on: a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4 nanoparticles

The response time of a sensor is typically the time required for electrical current response to achieve 90% of its full value. Figure 9 presents the response time as a function of temperature and H2S concentration. The figure reveals close values of response time regardless of the temperature and gas concentration. The average value of response time over different temperatures and gas concentrations is 170 ± 82 s. The error is estimated as one standard deviation. The response time is reasonable in comparison with previous reports for similar sensors [24, 25].

Fig. 9
figure 9

Dependence of sensors’ response time on H2S gas concentration and temperature for sensors based on: a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4 nanoparticles

The produced sensors are sensitive to H2S at 25 °C that specifies their low power requirements as well as safe operation. The response of the sensors that contain Cu toward H2S is higher than that of H2 indicating their selectivity to H2S gas. The large surface-to-volume ratio of nanoparticles enables enhanced gas response as compared with their bulk substitute. The response signal saturation at high gas concentrations can be designated to adsorption of H2S gas on most nanoparticles’ surfaces reactive sites. The response of spinel ferrite nanoparticles that contain Cu to H2S can be assigned to the production of charge carriers as a result of adsorption of oxygen species such as O and O2− at the surface of reactive sites [26, 27]. This process can be described as [28]:

$$ {\text{H}}_{{2}} {\text{S }} + {\text{ 3O}}^{ - }_{{({\text{ads}})}} \to {\text{ H}}_{{2}} {\text{O }} + {\text{ SO}}_{{2}} + {\text{ 3e}}^{ - } $$
(3)
$$ {\text{H}}_{{2}} {\text{S }} + {\text{ 3O}}^{{{2} - }}_{{({\text{ads}})}} \to {\text{ H}}_{{2}} {\text{O }} + {\text{ SO}}_{{2}} + {\text{ 6e}}^{ - } $$
(4)

Hence, the increase in electrical current signals of sensors upon exposure to H2S gas can be assigned to the increase of the concentration of free electrons as described by Eqs. 3 and 4. Once H2S gas is stopped and the sensor is washed by air, the production of free electrons is stopped and, thus, the electrical current signal decreases back to its reference. The sensing mechanism of H2S is a reversible process that enables using the sensor for repeatable sensing tests.

Copper-based spinel ferrites react with H2S leading to the production of chalcopyrite [29, 30] by the reduction of CuFe2O4 and formation of an intermediate compound CuFeO2 and then CuFeS2 as described by the following reaction [29, 30]:

$$ {\text{CuFeO}}_{{2}} + {\text{ H}}_{{2}} {\text{S }} \to {\text{ CuFeS}}_{{2}} + {\text{ H}}_{{2}} {\text{O}} $$
(5)

The produced CuFeS2 layer represents a small barrier layer for the ejected electrons on the nanoparticles’ surface since it exhibits higher conductivity than CuFe2O4. The electrons do not require high energy to pass the barrier and move within the nanoparticles' network; hence, those sensors are functional at room temperature. Furthermore, electrons are free to move within the nanoparticles network that increase the electrical current signal in comparison with the case of air exposure only. Upon exposing the sensor to air, CuFeS2 oxidizes and forms CuFe2O4 that exhibits a lower conductivity than CuFeS2. The functionality of the produced sensors is not sensitive to the ambient humidity because of the production of H2O molecules on the surface of the metal-oxide nanoparticles upon gas adsorption (Eqs. 3, 4, and 5).

The I(V) characteristics of the three as-prepared ferrite samples before and after exposure to H2S gas are presented in Fig. 10 which reveals two common features of the three samples: negative temperature coefficient of resistivity (i.e., decrease in resistance with temperature) and increase in electrical conductivity after exposure to H2S gas. The nanoparticles annealed at 500 °C and 750 °C exhibit a similar behavior. Spinel ferrite nanoparticles are semiconducting metal-oxide materials; thus, they are expected to reveal the negative temperature coefficient of resistivity with temperature [31]. The increase in electrical conductivity after exposure to H2S gas supports the suggested sensing mechanism presented in Eq. 5 that leads to the formation of metallic CuFeS2 that exhibits higher electrical conductivity than the metal-oxide spinel ferrites.

Fig. 10
figure 10

Effect of gas exposure on I(V) characteristics at different temperature for as-prepared: a CuFe2O4, b Zn0.5Cu0.5Fe2O4, and c ZnFe2O4 nanoparticles

4 Conclusion

Metal-oxide spinel ferrite nanoparticles of a composition ZnxCu1-xFe2O4 (x = 0, 0.5, and 1) were synthesized by the sol–gel auto-combustion technique and were annealed at elevated temperatures. The nanoparticles exhibit average sizes between 30 and 70 nm with cubic structures. The nanoparticles were tested for their H2 and H2S sensitivity at different temperatures. Copper ferrite nanoparticles revealed best sensitivity and selectivity to the H2S gas. This improved response to H2S gas is explained in terms of the production of metallic CuFeS2 that has a lower electrical resistivity compared to the semiconducting CuFe2O4. The fabricated sensors are safe to operate since they are functional at low temperatures, which also leads to low operating power requirements. Hence, they represent suitable candidates for the sensing elements in practical portable sensors.