Open Access Article
Ibtihel Soudani
*a,
Rageh K. Husseinb,
Saja Algessairb,
K. Moulaec,
Mokhtar Hjiri
*b and
Giovanni Neric
aLaboratory of Multifunctional Materials and Applications (LaMMA), LR16ES18, Faculty of Sciences of Sfax, University of Sfax, BP 1171, 3000 Sfax, Tunisia. E-mail: ebtihel.soudani@gmail.com
bDepartment of Physics, College of Sciences, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh 11623, Saudi Arabia. E-mail: mbhjiri@imamu.edu.sa
cDepartment of Engineering, University of Messina, Messina 98166, Italy
First published on 31st March 2026
Hydrogen sulfide (H2S) is a hazardous environmental pollutant that poses significant health risks, demanding the development of high-performance monitoring systems. This work reports the successful hydrothermal synthesis of inverse spinel nickel ferrite NiFe2O4 nanomaterials for use as a chemiresistive gas sensor. Structural and morphological characterizations, such as X-ray diffraction (XRD), scanning electron microscopy (SEM), Transmission electron microscopy (TEM), and photoluminescence (PL), confirmed the formation of a cubic spinel phase with a mesoporous architecture. Brunauer–Emmett–Teller (BET) analysis revealed a specific surface area of 58 m2 g−1, which provides an abundance of active sites for gas–solid interactions. X-ray photoelectron spectroscopy (XPS) analysis elucidated the sensing mechanism, showing the appearance of sulfur species and shifts in Ni 2p peaks, confirming the strong interaction between H2S and the ferrite surface. The sensing performance was systematically evaluated, showing a remarkable response of 90 toward a low H2S concentration of 5 ppm at an optimal operating temperature of 200 °C. This detection capability is well below the Threshold Limit Value (10 ppm). The sensor exhibited a quick response time of 10 seconds, exceptional selectivity, and high stability, demonstrated by a low relative standard deviation (RSD of 1.12%). Although humidity caused competitive adsorption effects, the sensor maintained a strong and measurable signal. These results indicate that NiFe2O4 is an excellent candidate for sensitive and practical H2S detection applications.
Chemiresistive gas sensors based on semiconducting metal oxides have attracted significant attention due to their low cost, simplicity, and high sensitivity. Conventional materials such as ZnO, SnO2, TiO2, and CuO have been widely explored for H2S detection.6–8 However, these materials often suffer from limitations such as high operating temperatures, poor selectivity, and slow response/recovery dynamics, which restrict their practical deployment.9–12
Recently, spinel ferrites (AB2O4) have emerged as promising candidates for gas-sensing applications due to their tunable electrical conductivity, catalytic activity, and structural flexibility.13,14 The spinel structure consists of tetrahedral (A) and octahedral (B) sites, enabling control over cation distribution and charge transport mechanisms. In particular, electron hopping between mixed valence states (e.g., Fe2+/Fe3+) plays a crucial role in determining their sensing behavior.15,16
Nickel ferrite (NiFe2O4), an inverse spinel ferrite, has attracted considerable interest owing to its semiconducting nature, chemical stability, and strong interaction with sulfur-containing gases.17 Recent studies have demonstrated the potential of nanostructured NiFe2O4 for gas sensing applications. For instance, electrospun NiFe2O4 nanofibers exhibited sensitivity toward H2S; however, they required relatively high operating temperatures (∼350 °C) and showed moderate response values.18,19 Furthermore, recent advances have focused on enhancing sensing performance through morphology engineering and composite formation. For example, MgFe2O4/MoO3 nanocomposites showed improved response at lower temperatures (135 °C), attributed to increased surface area and heterojunction effects.20 Despite these advances, several limitations persist in ferrite-based sensors. Many reported systems require complex synthesis routes, incorporation of secondary phases, or operate at relatively high temperatures to achieve acceptable sensitivity.13,21,22 In addition, achieving simultaneous improvement in detection limit, response time, and selectivity remains a major challenge. Recently, various strategies have been developed for hydrogen sulfide detection, including portable colorimetric systems for environmental monitoring, surface-enhanced Raman scattering (SERS)-based methods, and visual detection techniques.23–25 These approaches offer high sensitivity and suitability for on-site analysis; however, they often suffer from limitations such as complex instrumentation, high cost, or limited real-time capability. In contrast, chemiresistive gas sensors based on metal oxides provide a simple, low-cost, and real-time detection approach, making them highly promising for practical applications.26,27
Compared with previously reported NiFe2O4-based sensors, which often require high operating temperatures or exhibit moderate sensitivity, there remains a need for simple, single-phase nanostructured materials capable of detecting H2S at low concentrations with fast response and high selectivity.17–19 Therefore, the key scientific challenge is to develop NiFe2O4-based sensors that combine low detection limit, rapid response, high selectivity, and reduced operating temperature, without relying on complex doping strategies or composite structures. One effective approach to address this challenge is the design of nanostructured materials with reduced particle size and porous morphology. Nanoscale materials offer a high surface-to-volume ratio, enhanced density of active sites, and shorter diffusion pathways for gas molecules. In addition, surface defects such as oxygen vacancies play a crucial role in gas sensing by facilitating oxygen adsorption and promoting surface reactions. Despite extensive studies on NiFe2O4-based H2S sensors, a comprehensive understanding linking defect states, surface chemistry, and environmental factors to sensing performance remains limited. In this work, we address this gap by combining PL, BET, and XPS analyses with gas sensing measurements to provide a deeper insight into the sensing mechanism and practical applicability.
Fig. 2 shows the Rietveld refinement analysis performed with Match software to determine precise structural parameters. Table 1 lists the refined lattice parameters and crystallographic data. The NiFe2O4 diffraction peaks correspond to a cubic crystal structure (space group Fd
m,28,29), with no extraneous phases indicating sample purity. The refined lattice parameter is a = 8.3597 Å, and density measurements yield 2.757 g cm−3 for nickel ferrite.
![]() | ||
| Fig. 2 Rietveld refinement plot of NiFe2O4 (the blue carve represent the observed data and the burgundy color is the calculated pattern). | ||
| Parameter | Ni Fe2O4 |
|---|---|
| Space group | Fd m |
| Crystal system | Cubic |
| Density (g cm−3) | 2.757 |
| Lattice parameters, a (Å) | 8.3597 |
The average crystallite size was estimated using the Scherer formula and the Williamson–Hall relation. Scherer's formula relates the average crystallite size (Ds) to the FWHM (β), wavelength (λ), and the angle (θ) as follows:30
![]() | (1) |
The average crystallite size (DWH) and microstrain (ε) effects on the peak broadening were also estimated from the slope and y-intercept of the linear fitting result, as shown in Fig. 3, of the Williamson–Hall relation:31
![]() | (2) |
The lattice strain and the average crystallite size of nickel ferrite nanomaterial estimated using both methods are displayed in Table 2. The calculated crystallite size using the two methods was almost the same (around 10 nm). The value of lattice strain is found to be negative, indicating that the material was compressed relative to its equilibrium state due to external stresses, defects, or mismatches in the material.32,33
| Parameter | Ni Fe2O4 |
|---|---|
| DS (nm) | 10.63 |
| DWH (nm) | 10.36 |
| Lattice strain ε | −7.027 × 10−8 |
The reliability of semiconductor materials with electrical and optical properties is connected to their structures. The elastic strain field and tilt analysis of the crystal lattice, detectable by the variation in position and shape of the diffraction peaks, is used to quantify defects and investigate their mobility. The exploitation of high-resolution X-ray diffraction-based methods for the evaluation of structural defects in semiconductor materials and devices is reviewed. An efficient and non-destructive characterization is possible for structural parameters such as lattice strain and tilt, layer composition and thickness, lattice mismatch, and dislocation density. The description of specific experimental diffraction geometries and scanning methods is provided. Today's X-ray diffraction-based methods are evaluated and compared, also with respect to their applicability limits. The goal is to understand the close relationship between lattice strain and structural defects. For different material systems, the appropriate analytical methods are highlighted.32
The textural properties of NiFe2O4 nanoparticles were investigated by nitrogen (N2) adsorption–desorption as represented in Fig. 5. The isotherm exhibits typical type IV behavior with a marked hysteresis loop, indicating the mesoporous nature of the material. The specific surface area, calculated by the BET method, is 58 m2 g−1. The pore size distribution, determined by the BJH method, confirms the presence of mesopores.34 The relatively high specific surface area and the porous structure provide a large number of active sites for gas adsorption and facilitate the efficient diffusion of H2S molecules. These characteristics contribute significantly to improved detection performance, particularly the high response time and the speed of both the response and the recovery.35
Fig. 6 displayed TEM photographs of the NiFe2O4 compound. The nickel ferrite consists of nanoparticles with irregular spherical shapes and significant agglomeration (Fig. 6a). Particle size distribution was determined from TEM images using image analysis software, by measuring individual nanoparticle diameters and generating a histogram of frequency versus size, as represented in Fig. 6b. The size distribution showed that the average particle size of NiFe2O4 material (D) is found to be 10 nm. The obtained size was in good agreement with that obtained by XRD measurements.
![]() | ||
| Fig. 7 XPS survey spectra of NiFe2O4 before and after exposure to H2S gas (a), high-resolution XPS spectra of the elements of NiFe2O4 such as Ni (b), Fe (c and f), O (d and g), S (e). | ||
The high-resolution Ni 2p spectrum of the pristine NiFe2O4 exhibits characteristic peaks corresponding to Ni2+ species, along with their associated satellite peaks, confirming the spinel structure (Fig. 7a). After exposure to H2S, a slight shift of the Ni 2p peaks toward lower binding energy is observed, suggesting an increase in electron density around Ni ions (Fig. 7b). This shift can be attributed to the reducing nature of H2S gas and indicates a modification of the local chemical environment due to the interaction between Ni ions and sulfur species.36,37
The Fe 2p spectrum shows typical features of Fe3+ ions in the spinel lattice (Fig. 7c), and no significant shift is observed after gas exposure (Fig. 7f), indicating that Fe plays a less dominant role in the sensing reaction compared to Ni sites.
The O 1s spectrum can be deconvoluted into two main components: lattice oxygen (O2−) at lower binding energy and adsorbed oxygen species (O−, O2−) at higher binding energy (Fig. 7d). After exposure to H2S, a noticeable decrease in the intensity of the adsorbed oxygen component is observed, indicating the consumption of chemisorbed oxygen species during the sensing reaction (Fig. 7g). This observation supports the widely accepted mechanism in which H2S reacts with surface oxygen species, releasing electrons back to the conduction band.38,39
Importantly, the appearance of S 2p peaks after H2S exposure, shown in Fig. 7e, provides direct evidence of the interaction between the target gas and the sensor surface. The S 2p spectrum typically shows contributions corresponding to sulfide species (S2−) and oxidized sulfur species (such as SOx), confirming that H2S undergoes surface reactions rather than simple physical adsorption.40
Based on these observations, the sensing mechanism can be described as a surface-controlled redox process. In air, oxygen molecules adsorb on the surface and capture electrons to form ionized oxygen species, creating an electron depletion layer and increasing resistance. Upon exposure to H2S, these oxygen species react with H2S molecules, leading to the formation of sulfur-containing species and the release of electrons back into the conduction band, resulting in a decrease in resistance.38,39 The XPS results provide strong experimental support for this mechanism, particularly highlighting the role of Ni active sites and surface oxygen species in the gas sensing process.
![]() | ||
| Fig. 8 Photoluminescence spectrum of NiFe2O4 nanopowders. The inset is a typical deconvolution result of nickel ferrite. | ||
The relatively high PL intensity is consistent with the nanoscale particle size (∼10 nm), where quantum confinement and surface effects become significant. The presence of defect states revealed by PL analysis plays a crucial role in gas sensing performance. In particular, oxygen vacancies act as active sites for oxygen adsorption, promoting the formation of reactive oxygen species (O2−, O−) on the surface.42
These adsorbed oxygen species capture electrons from the conduction band, leading to the formation of a surface depletion layer and an increase in resistance in air. Upon exposure to H2S, the gas molecules react with the adsorbed oxygen species, releasing electrons back into the conduction band and decreasing the resistance. Therefore, the defect states evidenced by PL measurements indirectly support the proposed sensing mechanism and contribute to the enhanced sensitivity of the NiFe2O4 sensor.43
It was clearly seen in Fig. 11 that the fabricated sensor was sensitive to the target gas even at low gas concentrations (S = 1.5 toward 0.126 ppm). Furthermore, an increase in H2S concentration from 0.126 to 5.04 ppm results in a greater decrease in the material's electric resistance. Since H2S is considered a reducing gas, it then resulted from its interaction with adsorbed oxygen species a loss of electrons leading to conductivity increase and a resistance decrease of the sensing layer, indicating the n-type behavior of the suggested material. The resistances had good reversibility during the exposure and exhaust cycles of H2S gas.
The response/recovery characteristics curve of the NiFe2O4 sensor toward 0.315 ppm of hydrogen sulfide gas at the operating temperature of 200 °C is displayed in Fig. 12. When the gas molecules are passed in the test chamber, a sharp decrease in resistance was observed at first, indicating the high response capability; then a slow reduction in resistance appeared until it became constant. On exhausting the gas from the test chamber by opening the valve, the electric resistance increased quickly and then slowly until it reached a constant resistance value in the air for another period of time. The high recovery might be due to the bulk nature of the sensor element. The gas response to 0.315 ppm of H2S is found to be 4.9.
![]() | ||
| Fig. 12 Electric resistance change with time of nickel ferrite sensor exposed to 0.315 ppm of H2S at 200 °C. | ||
The response/recovery times are considered the main parameters to say that the sensor is good and efficient. The response time is defined as the necessary time to obtain 90% of the response when the material is exposed to the gas, while the recovery time is the necessary time for resistance to return to its initial value of 90% when the gas is stopped. The response and recovery are found to be 10 and 170 s, respectively. Ghosh et al. obtained response and recovery times of 90 and 300 s when the NiFe2O4 sensor is exposed to 200 ppm of H2S.47
The gas response of the NiFe2O4 sensor toward various gases (CH2O, CO2, NO2, CO, and H2S) to show its selectivity is depicted in Fig. 13a. The response toward 1.3 ppm of H2S was found to be 25 times higher than that of other gases, confirming the high selectivity of the suggested sensor. This high selectivity might be explained as follows: nickel ferrite had a strong interaction with sulfur-containing compounds like H2S. When target gas molecules are exposed to the sensing layer surface, the sulfur from H2S can bond with Ni ions, increasing the sensitivity and the selectivity. Four similar pulses, as depicted in Fig. 13b, of NiFe2O4 gas response toward 1.3 ppm of H2S at 200 °C, show the good repeatability of the fabricated sensor. Fig. 13c reported that nickel ferrite sensor response in the range of 0.126 to 5.04 ppm increased linearly, exhibiting higher sensitivity even at lower gas concentrations. As displayed in Fig. 13d, the suggested sensor had good stability after testing it toward 1.3 ppm of H2S during 3 months with a step of 15 days.
![]() | ||
| Fig. 13 (a) NiFe2O4 selectivity test, (b) repeatability test, (c) calibration curve and (d) stability of the sensor during 3 months. | ||
Fig. 14 shows a comparison between the NiFe2O4 response toward 1.3 ppm of H2S and 1 ppm of CH2O at various temperatures from 150 to 400 °C with a step of 50 °C. At all working temperatures, the sensor response toward formaldehyde is found to be weak. At low temperatures, CH2O gas adsorption could not excite a redox reaction because of low energy. At high temperatures, formaldehyde could be desorbed before the sensing operation occurred. In contrast, the sensor response toward H2S was very high at low operating temperatures. Increasing temperature results in a gas response reduction, indicating that H2S molecules reacted well at low temperatures.
As reported in Table 3, the fabricated sensor based on nickel ferrite nanoparticles showed a high response (90) toward low H2S concentration (5 ppm) compared to most sensors suggested in the table.48 The response and recovery times of NiFe2O4 sensors are found to be faster than those of other metal oxide sensors.13,18,19,49,50
| Material | H2S (ppm) | Operating temp (°C) | Response | Response/recovery (s) | Reference |
|---|---|---|---|---|---|
| NiFe2O4 nanoparticles | 5 | 200 | 90 | 10/170 | This work |
| NiFe2O4 nanostructures | 10 | 200 | 63 | 18/150 | 18 |
| NiFe2O4 thin film | 20 | 250 | 48 | 30/210 | 19 and 40 |
| NiFe2O4-based sensors (various morphologies) | 5–50 | 150–300 | 40–80 | — | 45 |
| NiFe2O4 nanomaterials (review data) | 1–10 | 150–250 | 50–85 | — | 13 |
To evaluate the repeatability of the sensor fabrication, five sensors were prepared in independent batches and tested under identical conditions (200 °C, 1.3 ppm H2S). As shown in Fig. 15, the sensor responses are highly consistent, with a mean value of 31 and a low relative standard deviation (RSD) of 1.12%. This result demonstrates the excellent reproducibility and reliability of the fabrication process, highlighting the potential of the sensor for practical applications.
| O2(gas) ↔ O2(ads) | (3) |
| O2(ads) + e− ↔ O2− | (4) |
| O−2 + e− ↔ 2O− | (5) |
| O− + e− ↔ O2− | (6) |
When the H2S gas was exposed on the sensing layer surface, as shown in Fig. 16b, the target gas, as a reducing gas, reacted with adsorbed oxygen species and restored electrons to the conduction band, leading to a decrease in resistance. The reduction of resistance during H2S gas exposure is due to a reduction in the thickness of the depletion region as well as the height of the potential barrier. The reaction can be described by the following equation:52
| H2S(g) + 2O(ads)− → H2(g) + SO2(g) + 2e− | (7) |
The sensor exhibited excellent sensing performance, including a high response of 90 toward 5 ppm H2S at an optimal operating temperature of 200 °C, along with a fast response time of 10 s. In addition, the sensor demonstrated good selectivity against interfering gases and maintained stable performance over an extended period. The repeatability tests showed a low relative standard deviation (RSD) of 1.12%, confirming the high reproducibility of the fabrication process.
The influence of humidity was also investigated, revealing a decrease in response at higher relative humidity due to competitive adsorption of water molecules. Despite this effect, the sensor retained a measurable response, indicating its potential applicability under realistic environmental conditions.
Overall, the combination of high sensitivity, fast response, good reproducibility, and supported sensing mechanism highlights the potential of NiFe2O4 as a promising material for efficient H2S gas sensing. Future work will focus on improving humidity resistance and validating the sensor performance under real environmental conditions.
| This journal is © The Royal Society of Chemistry 2026 |