Introduction

Over the past few decades, various surface plasmon resonance (SPR)-based techniques have been proposed for gas, chemical, and various biosensing applications as well as multifunctional purposes [1,2,3,4]. This technique has versatile application due to its portability, detection accuracy, speed, and sensitivity [5], and provides a very simple, real-time, label-free detection method [3]. Conventional SPR sensors (prism-based, etc.) are bulky and costly, whereas optical fiber offers the advantage of portability and compactness [6]. SPR is generated when transverse magnetic (TM) light is incident on the metal–dielectric interface and some absorption of light takes place due to matching of the wave vector of the surface plasmon wave (SPW) and wave vector of incident light. Many types of optical fibers are commercially available for different applications which depend on their operating mode. Electromagnetic waves (emw) of several modes are dominant in multimode optical fiber, while single-mode emw is dominant in single-mode optical fiber. The multimode core is large in diameter in comparison to a single mode core [7, 8]. In the case of simple optical fiber SPR (OFSPR), SPR can be excited in both the single-mode and multimode core in a controlled manner, and their transmission spectrum limits the performance of the sensor. The physical realization of deformed fibers for SPR excitation can be obtained in two simple methods. In the first method, the desired part of the cladding is removed by making a deep cut and polishing one side, and then metal (of certain thickness) is placed over the polished surface. In another method, the tapered optical fiber can be used to fabricate plasmonic metals over its surface. Gold (Au), silver (Ag), copper (Cu), and aluminum (Al) have been demonstrated as noble plasmonic materials which are incorporated into the design of OFSPR sensors. However, chemical instability such as corrosion and oxidation occurs in plasmonic materials other than gold (Au). This can be overcome by coating of other materials such as metal oxides onto plasmonic metals.

Various studies have reported SPR-based sensors in the near-infrared (NIR) region which have many applications in medicine, environmental sensing, and security purposes [1, 2, 9]. Photonic crystal fiber (PCF) SPR-based sensor techniques have been developed in recent years [10, 11]. Optical fiber sensors with different geometries have been studied, such as tapered geometries [12] and selective cladding removal [13, 14]. An amoeba-faced photonic crystal fiber (A-PCF) structure was reported for the first time in an optical fiber-based biosensor [15]. D-shaped optical fiber is easy to fabricate and can also achieve a large evanescent wave [16]. Various sensing devices have been investigated for refractive index (RI) sensing applications in the NIR, mid-IR, and other regions. Khan et al. [17], studied a D-shaped PCF-based sensor of gold as plasmonic material, achieving maximum wavelength sensitivity of 66.66 µm/RIU [refractive index unit] for a range of 1.36 to 1.39. Huang T. [18] investigated a D-shaped SPR-based PCF RI sensor in a NIR wavelength range using fiber crystal coated with indium tin oxide (ITO). Poole et al. [19] proposed a chemical sensing application using D-shaped optical fiber. Numerous techniques have been proposed for grating-based optical fiber sensor techniques. Compella et al. [20] discussed low-cost strain sensors of unique sensitivity where the sensor was based on fiber Bragg grating (FBG). Many sensing studies have been performed using tapered fiber Bragg grating (TFBG) and long-period fiber grating (LPG) techniques, which have helped to enhance the sensing performance of SPR-based sensors [21].

Several works have been reported on SPR-based sensing using hyperbolic metamaterials (HMMs). Yang et al. [22] performed the synthesis of HMMs using Ag and MgF2, which was fabricated over D-type plastic optical fibers, and theoretically analyzed the performance using effective medium theory and COMSOL. Hu et al. [23] numerically analyzed HMM-SPR-based sensors and obtained ultrahigh sensitivity of 30 m/RIU, which is very high in comparison to conventional monolayer metallic SPR sensors. Various properties and composition of artificial structured materials have been studied, and applications of metamaterials in devices such as two-dimensional materials, semiconductors, liquid crystals, and superconductors have also been discussed [24]. Cheng et al. [25] numerically investigated the angular and polarization sensitivity of a hexagonal boron nitride (h-BN) array, and also calculated the charge density and corresponding electric field associated with particular responses of strong electric dipole resonance between adjacent h-BN unit cells. Hyperbolic media are characterized by dispersion relation, i.e., permittivity tensors. They have been widely studied for their unique electromagnetic properties [26,27,28]. This property can be generalized for two-dimensional (2D) materials, called hyperbolic metasurfaces (HMSs). HMSs are nanopatterned photonic structures that can support in-plane hyperbolicity due to guided waves [29, 30]. The \(\alpha\)-MoO3 2D-flake is also a member of the HMM family and possesses an ambient dispersion feature at room temperature. It follows the reststrahlen effect; i.e., in this region, the material of particular crystallographic orientation shows special electromagnetic characteristics, and the resulting radiation experiences strong reflection as shown in Fig. 2a(i). \(\alpha\)-MoO3 is a van der Waals (vdW) crystal that shows naturally in-plane hyperbolic polariton guided modes in a mid-infrared frequency range, and this is a biaxial crystal with three reststrahlen bands, where each reststrahlen band corresponds to a different crystalline axis [31,32,33], which is shown in Fig. 2. \(\alpha\)-MoO3 has been grown by various synthesis techniques including thermal physical deposition and chemical vapor deposition [32, 34]. Shape-controlled crystalline nanostructures of \(\alpha\)-MoO3 were synthesized by a hydrothermal method without any capping agents [35]. Large-scale, few-layered growth of \(\alpha\)-MoO3 on SiO2 and Si substrates was carried out using physical vapor deposition [36].

In this work, we theoretically demonstrate the plasmonic behavior of Ag/Au with HMMs and we numerically optimize the performance of D-shaped optical fiber SPR-based sensors, as shown in Fig. 1, where two structurally different sensing media are prepared using Ag-\(\alpha\)-MoO3 and Au-\(\alpha\)-MoO3 nanocomposites in separate configurations. The proposed geometric and performance parameters are optimized using finite element method (FEM)-based software for the optimum application of the proposed sensor. We evaluate the sensitivity of our proposed sensor for various different analyte RI. Our proposed model of the SPR-based sensor achieves maximum sensitivity of 9.89 µm/RIU and 8.31 µm/RIU, revealing good sensing performance as compared to other reported work. The proposed sensor may have a variety of applications in the field of chemical/biological sample diagnostics and other sensing purposes.

Fig. 1
figure 1

Schematic diagram of fiber sensor consisting of grating structure of \(\alpha\)-MoO3-coated metal. (a) Cross-sectional view of fiber sensor and (b) sketch of experimental setup where single-mode (SM) fibers are used

Theory

The design of the D-shaped optical fiber SPR (OFSPR)-based RI sensor is shown in Fig. 1. The core is composed of high-dielectric materials in comparison to its cladding, and therefore total internal reflection (TIR) takes place in the core of the optical fiber. The length of the sensing area is assumed to be 1 mm. Further, we have optimized the residual cladding (\({R}_{c}\)), grating gap (\({w}_{g}\)), and width of gratings (\(w\)) by using COMSOL Multiphysics 5.5 FEM-based software. Optical fiber is single-mode in nature, where the core and cladding diameters of the sensors are taken as 9 \(\mathrm{\mu m}\) and 125 \(\mathrm{\mu m}\), respectively. Here we assume that a sensing probe of metallic grating structure is deposited at the residual cladding (Rc). The width of the grating (\(w\)), gap between gratings (\({w}_{g}\)), and grating period (\(\wedge =w+{w}_{g}\)) and number of gratings is kept at 28. A polychromatic light source is assumed to pass through the optical fiber.

Refractive Index of Fiber Core and Cladding

For single-mode fiber, the wavelength-dependent core cladding of the RI is calculated by the Sellmeier relation, expressed as [37, 38]

$$n\left(\lambda\right)={(\frac{l_1\lambda^2}{\lambda^2-q_1^2}+\frac{l_2\lambda^2}{\lambda^2-q_2^2}+\frac{l_3\lambda^2}{\lambda^2-q_3^2}+1)}^\frac12$$
(1)

where \(\lambda\) is the operating wavelength (in μm), and \({l}_{1}\), \({l}_{2}\), \({l}_{3}\) and \({q}_{1}\), \({q}_{2}\), \({q}_{3}\) denote the Sellmeier coefficients, whose values are listed in Table 1.

Table 1  Coefficients for core and cladding
Table 2 Coefficients for silver and gold

Dispersion Relation of Metal

The wavelength-dependent permittivity \({(\varepsilon }_{m}\)) of dielectric constants of the metals is calculated using the Drude model, given by the relation [37]

$${\varepsilon }_{m}\left(\lambda \right)= {\varepsilon }_{\infty }- \frac{{\lambda }^{2}{\lambda }_{c}}{{\lambda }_{p}^{2}\left({\lambda }_{c}+i{\lambda }_{c}\right)},For\;metal\;{\varepsilon }_{\infty }=1$$
(2)

where \({\varepsilon }_{\infty }\) is the background of the dielectric constant at infinite frequency, and \({\lambda }_{c}\) and \({\lambda }_{P}\) are the collision and plasma wavelength of the metal/metal oxide, respectively (Table 2).

Dispersion Relation of Coating Material

The dispersion relation of α-MoO3 is governed by the generalized form of the Lorentz-Drude relation, which is given as [31]

$${\varepsilon }_{j}={{\varepsilon }_{\infty }}^{j}\left(1+\frac{{\omega }_{L}^{{j}^{2}}+{\omega }_{T}^{{j}^{2}}}{{\omega }_{T}^{{j}^{2}}-{\omega }^{2}-i\omega {\gamma }^{j}}\right);j\equiv x,y,z$$
(3)

\({\varepsilon }_{j}\) is the principal component of the permittivity tensor, \({{\varepsilon }_{\infty }}^{j}\) is high-frequency dielectric constant, \({{\omega }_{L}}^{j}\) is the longitudinal phonon frequency, \({{\omega }_{T}}^{j}\) is the transverse phonon frequency, and \({\gamma }^{j}\) is the broadening factor of the Lorentzian line shape. The values of phonon frequencies are taken from the literature [40, 41], and \({{\varepsilon }_{\infty }}^{j}\),\({\gamma }^{j}\) are assumed to be a fitting parameter to make the theoretical field distribution match with experimental demonstrations. The electromagnetic properties of \(\alpha\)-MoO3 are shown in Fig. 2.

Fig. 2
figure 2

a(i) Electromagnetic (EM) field mode intensity for α-MoO3 over SiO2 and dispersion curve vs. linear frequency for all crystallographic axis. (b) EM field (in V/m) response of α-MoO3 over SiO2 layer. (ii), (iii), (iv), (v) EM field mode intensity of the X, Y, Z, and normalized components

Expressions for SPR

SPR is an optical absorption effect which describes the complex RI nature of the sensing layer. In the case of SPR, the surface wave vector (\({k}_{sp}\)) and incident wave vector (k) should be matched. Therefore, the resonance state for SPR excitation is given as [42]

$${k}_{sp}=k\sqrt{\frac{{\varepsilon }_{m}{\varepsilon }_{s}}{{\varepsilon }_{m}+{\varepsilon }_{s}}}\;where\;k=\frac{2\pi }{\lambda }$$
(4)

where for effective excitation of SPs, \({\varepsilon }_{m}\gg {\varepsilon }_{s}\) and \({n}_{s}^{2}\)=\(\varepsilon\) s,

$$k{n}_{0}Sin\theta ={k}_{sp}$$
(5)

where \(\theta\) is the incident angle and RI of the core. Again, using Eqs. (4) and (5), the expression can be rewritten as

$$k{n}_{0} Sin\theta k\sqrt{\frac{{\varepsilon }_{m}{\varepsilon }_{s}}{{\varepsilon }_{m}+{\varepsilon }_{s}}}$$
(6)

where \({\varepsilon }_{s}\) is the dielectric constant of sensing media such as water or glycerin, and \({\varepsilon }_{m}\) is the permittivity of metal [43, 44].

Expression for the Transmittance and Confinement Loss Spectrum

T is the transmittance of p-polarized light which is calculated as [45]

$$T=exp[-2k*imag\left({n}_{eff}\right)L]$$
(7)

where \({n}_{eff}\) is the effective RI of the sensing area. The confinement loss of the optical fiber is given as [46, 47]

$$CL \left(\frac{\mathrm{dB}}{\mathrm{cm}}\right)=8.686k*[imag\left({n}_{eff}\right)]104$$
(8)

Performance Evaluation of Proposed Optical Fiber Sensor

In the present work, the performance parameters of the SPR sensor are mainly dependent on two variables, a shift in resonance wavelength (\({\lambda }_{res}\)) and the full width at half minimum (FWHM), which directly correspond to the change in the RI of the sensing medium (ns) [45, 48,49,50].

Sensitivity

In the wavelength interrogation method, sensitivity is obtained from the ratio of the change in resonance wavelength (\({\uplambda }_{\mathrm{res}}\)) to the change in RI of the sensing media \((\Delta n)\) [48].

$$S=\frac{\Delta {\lambda }_{res}}{\Delta n}\mathrm{in\;units\;of}\left(\frac{\mathrm{\mu m}}{\mathrm{RIU}}\right),$$

Detection Accuracy (DA)

DA is inversely dependent on the FWHM of absorption dip in transmission spectra. The DA indicates the level that a sensor is able to detect with good accuracy [45].

$$DA=\frac{1}{FWHM}(\mu {m}^{-1})$$

Figure of Merit (FOM)

Another crucial parameter used to evaluate the performance of the proposed sensor is the FOM, also known as the quality factor (QF), which is given as [51]

$$FOM=S\times DA=\frac{S}{FWHM}({RIU}^{-1})$$

Results and Discussion

In this work, we used FEM-based COMSOL Multiphysics software to evaluate the geometric and performance parameters of our fundamental sensor model. In this study, we employed two-dimensional FEM instead of three-dimensional FEM, as the former requires less simulation time (4–5 h) with the same accuracy. Simulation was carried out by choosing mode analysis with electromagnetic frequency domain (EWFD) physics under wave optics module by applying an impedance boundary condition (IBC) of the same RI, and we take finer meshes (minimum element 0.0181 \(\mathrm{\mu m}\), maximum element size 5.36 \(\mathrm{\mu m},\) and maximum element growth rate 1.25). The dielectric and electromagnetic properties of α-MoO3 were obtained using Eq. (3) and corresponding Table 3, and are shown in Fig. 2. Further, we optimized the initial parameters of metal/metal oxide thickness, residual cladding, and gratings gap, and the corresponding confinement loss for the primary structure of the proposed sensor is given in Figs. 3, 4, and 5.

Table 3 Numerical values of dispersion relation parameters of α-MoO3
Fig. 3
figure 3

Normalized and crystallographic axis component of electromagnetic field (in V/m) response of α-MoO3 over silver layer at a particular mode index

Fig. 4
figure 4

(a) Transmission spectra for different residual cladding thicknesses at w of 250 nm and \({w}_{g}\) of 25 nm. (b) Transmission spectra for different thickness of silver layer at \({w}_{g}\) of 20 nm and w of 250 nm. (c) Different silver grating gap (\({w}_{g}\)) values at w of 250 nm (d) for different grating widths (w) where all RI is 1.35

Fig. 5
figure 5

(a) Confinement loss for different residual claddings at particular thicknesses of silver and α-MoO3 layers at RI = 1.35. (b) Confinement loss for different thicknesses of silver layer at RI = 1.35. (c) Confinement loss for different value of grating gaps of silver gratings at RI = 1.35. (d) Confinement loss for different widths of silver gratings at RI = 1.35, gap of 25 nm

Figure 3 shows the electromagnetic field intensity over Ag-α-MoO3 for an effective mode index, where Ag and α-MoO3 thickness is kept at 60 nm and 30 nm, respectively. The effective mode corresponds to the particular geometry of plasmonic materials as well as field intensity varying with the change in effective modes. Different types of plasmonic materials, such as Ag, Au, Cu, Al, and transition metal nitrides, exhibit special permittivity characteristics. In this work we theoretically demonstrate the plasmonic behavior of novel plasmonic materials (Ag, Au) with the HMM for a particular operating region.

Figure 4a–d shows the transmission spectra with wavelength for various silver thicknesses, different residual cladding, various grating gaps (\({w}_{g}\)), and different grating width (\(w\)) values at residual cladding (Rc) at 100 nm, respectively. Here, we have optimized the geometry for optimum performance of our proposed sensor. Various biological and chemical analyte concentrations have RI values ranging from 1.33 to 1.40; therefore, here our interest is in optimizing an SPR-based sensor that can work within this range. Therefore, initially, we assume parameters including analyte RI of 1.35, grating gap of 25 nm, and grating width of 300 nm. Figure 4a shows transmission spectra for different residual claddings (Rc). The first four dips near 550 nm correspond to sensing media consisting of only silver (Ag) gratings of 45 nm, while another three dips near 680 nm correspond to sensing media consisting of Ag-α-MoO3 and α-MoO3 of 10 nm for a rough estimation of power absorbance due to SPR. In addition, when a certain thickness of α-MoO3 is coated over silver, greater SPR occurs and we get a sharper absorption dip in the transmittance curve. Therefore, in our further optimization, we take residual cladding (Rc) at 100 nm to obtain better generation of SPR. In Fig. 4b, we observe that with increasing thickness of Ag, the absorption dip decreases for RI of 1.35, w of 250 nm, and \({w}_{g}\) of 20 nm, where, as we increase the thickness of the silver grating, the absorption dip decreases. For Ag thickness of 40 nm, a sharper absorption dip is observed, but if we take this thickness for higher RI (1.39 to 1.40), the transmission curve becomes irregular. Therefore, for our further estimation, it is better to take a silver grating thickness of 60 nm. Figure 4c shows transmission spectra at the different values of gratings gap (\({w}_{g}\)) at RI of 1.35 and gratings width (w) of 250 nm. We obtain greater absorption dips for Ag of 60 nm and \({w}_{g}\) of 10 nm to 15 nm. The absorption dip decreases slightly as the grating gap increases. Figure 4d shows the transmittance curve for different values of gratings width at Ag of 60 nm, \({w}_{g}\) of 25 nm, and RI of 1.35. We observe that a greater absorption dip occurs for \(w\) of 200 nm, and the curve becomes irregular for a higher value of gratings width.

Figure 5 shows the confinement loss (CL) vs. wavelength corresponding to Fig. 4. In Fig. 4a, we obtain maximum confinement loss for Ag thickness of 45 nm and residual cladding of 100 nm. Figure 5b shows the confinement loss spectra corresponding to Fig. 4b, and we observe that the CL decreases as the thickness of Ag increases. Figure 5c shows confinement loss for various grating gaps corresponding to Fig. 4c, with the maximum CL observed for Ag thickness of 60 nm and grating gap of 10 nm. Figure 5d shows the CL for various grating widths corresponding to Fig. 4d, where the maximum CL is found for grating width w of 200 nm, with Rc at 100 nm and Ag thickness of 60 nm.

Figure 6 shows the transmittance curve for the distinct value of α-MoO3 layers over Ag of 60 nm and Au of 50 nm at 1.35 in (a) and (b), respectively. In Fig. 6a we observe that as we increase the thickness of α-MoO3 with silver of 60 nm, the absorption dip increases and FWHM is minimum; i.e., DA is also better for the higher thickness of α-MoO3, but we observe some absorption dip irregularity when we set a higher thickness above 28 nm for the α-MoO3 layer. In Fig. 6b, as we increase the thickness of α-MoO3 over the gold layer of 50 nm, the absorption dip increases as we increase the thickness of α-MoO3 up to 30 nm, but there is sharp irregularity above 30 nm, and for higher values of RI, FWHM is greater; i.e., DA is less good in comparison to Ag-α-MoO3. In Fig. 6c, at α-MoO3 of 15 nm, as we increase the thicknesses of the silver grating, the absorption dip decreases, but a very slight shift occurs in the resonance wavelength. In Fig. 6d, at α-MoO3 of 15 nm, as the thickness of gold grating increases, the absorption dip decreases, and a slight shift in the resonance wavelength occurs.

Fig. 6
figure 6

(a), (b) Transmission curve for various thicknesses of α-MoO3 over silver layer of 60 nm thickness and over gold layer of 50 nm thickness, respectively. (c), (d) Transmission spectra for various thicknesses of silver and gold gratings with fixed thickness of α-MoO3, respectively

Figure 7 shows the SPR electric field and surface plasmon polariton (SPP) mode at corresponding transmittance spectra. Figure 7a, b i, ii shows Ag-α-MoO3, with Ag at 60 nm and α-MoO3 at 15 nm. Figure 7c, d, iii, iv shows Au-α-MoO3, with Au at 50 nm and α-MoO3 at 10 nm. The SPR field response and transmittance curve are illustrated via the FEM-based software COMSOL. We can see that the core mode and SPP mode occur at 0.7651 µm and 0.7593 µm for Ag-α-MoO3 and Au-α-MoO3, respectively. At this point, most of the electric field in the fiber core is transferred to the sensing area of Ag-α-MoO3 and Au-α-MoO3. As a result, some power loss inside the optical fiber is observed, which is called absorption dip. Therefore, the electric field strength of SPR increases over the grating surface. Along with this, we can see in Fig. 7ii, iv that the α-MoO3 layer also enhances the SPR field intensity at the sensing area.

Fig. 7
figure 7

(a), (b) Transmission spectra for silver grating of 60 nm thickness with α-MoO3 layer of 15 nm thickness. (b) SPP and core mode corresponding to (a). (i, ii) EM field of SPR mode corresponding to both (a) and (b). (c) Transmission spectra for gold grating of thickness 50 nm with α-MoO3 of thickness 10 nm. (d) SPP and core mode corresponding to (c). (iii,iv) EM field of SPR mode corresponding to both (c) and (d)

Figure 8 shows the transmission spectra for different external RI values at Ag-α-MoO3 and Au-α-MoO3 in (a) and (b), respectively. In Fig. 8a, for Ag-α-MoO3, where Ag thickness is 60 nm and α-MoO3 is 15 nm, the absorption dips increase with increasing RI values up to 1.4, where FWHM is minimum. In Fig. 8b, for Au-α-MoO3, where Au thickness is maintained at 50 nm and α-MoO3 is 10 nm, the absorption dips increase as the value of the RI increases up to 1.4, where the FWHM is much greater, i.e., DA is less in comparison to the Ag-α-MoO3 configuration.

Fig. 8
figure 8

(a) Transmission spectra for different refractive indices where silver grating thickness is 60 nm and α-MoO3 layer thickness is 15 nm. (b) Transmission spectra for different refractive indices where gold grating thickness is 50 nm and α-MoO3 layer thickness is 10 nm

Figure 9 shows the relationship between the RI and resonance wavelength at different thicknesses of α-MoO3 layers over Ag and Au, respectively. In Fig. 9a, where silver thickness is 60 nm, for various thicknesses of the coating layer α-MoO3, the resonance wavelength increases as the external RI increases. There is an increase in \({\lambda }_{res}\) from 1.36 RIU to 1.39 RIU. In Fig. 9b, where gold thickness is 50 nm, for various thicknesses of coating layer α-MoO3, \({\lambda }_{res}\) increases with increasing RI. We observe an absorption dip irregularity at 1.4 RIU for 28 nm of α-MoO3 over Au of 50 nm.

Fig. 9
figure 9

(a) Curve of resonance wavelength vs. RI of medium for different thicknesses of α-MoO3 layer with silver thickness of 60 nm. (b) Curve of resonance wavelength vs. RI of medium for different thicknesses of α-MoO3 layer with gold thickness of 50 nm

Figure 10 shows the sensitivity curve with different thicknesses of α-MoO3. In this figure we evaluate the effect of the thickness of the metal oxide layer on the sensitivity of the proposed model. In Fig. 10a, for Ag-α-MoO3, we measured the sensitivity for various thicknesses of α-MoO3. The sensitivity values for α-MoO3 thickness of 10 nm, 15 nm, 20 nm, 25 nm, and 28 nm are 5.42 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), 8.31 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), 8.64 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), 5.67 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), and 3.08 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), respectively. For Ag of 60 nm and α-MoO3 of 15 nm and 20 nm, it shows the best sensitivity of 8.31 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\) and 8.64 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\) and FOM of 296.99 \({\mathrm{RIU}}^{-1}\) and 235.04 \({\mathrm{RIU}}^{-1}\) for 15 nm and 20 nm thickness of α-MoO3, respectively, which is tabulated in Table 4. In Fig. 10b, for the Au-α-MoO3 sensing probe, we evaluated the effect on sensitivity with the change in α-MoO3 thickness. The sensitivity values for α-MoO3 thickness of 10 nm, 15 nm, 20 nm, 25 nm, and 28 nm are 9.89 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), 10.46 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), 6.81 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), 6.75 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\), and 6.31 \(\mathrm{\mu m}\)/\(\mathrm{RIU},\) respectively. For Au of 50 nm with α-MoO3 thickness of 10 nm and 15 nm, we obtain good sensitivity of 9.89 \(\mathrm{\mu m}\)/\(\mathrm{RIU}\) and 10.46 \(\mathrm{\mu m}\)/\(\mathrm{RIU},\) and FOM of 154.58 \({\mathrm{RIU}}^{-1}\) and 146.52 \({\mathrm{RIU}}^{-1},\) respectively, which is given in Table 5.

Fig. 10
figure 10

(a) Sensitivity curve for different thicknesses of α-MoO3 with silver grating thickness of 60 nm. (b) Sensitivity curve for different thicknesses of α-MoO3 with gold grating thickness of 50 nm

Table 4 Performance parameters at different thicknesses of α-MoO3 over silver
Table 5 Performance parameters at different thicknesses of α-MoO3 over gold

Conclusion

In this work, we have optimized a D-shaped OFSPR-based RI sensor which consists of a grating structure of Ag-α-MoO3 and Au-α-MoO3 in a separate configuration. We studied the effect of the thickness of the metal oxide layer of α-MoO3 HMM over the silver and gold layer. We also studied the variation in SPR electric field intensity on grating surfaces. In the Ag-α-MoO3-based sensor, the thickness of Ag and α-MoO3 was kept at 60 nm and 15 nm, respectively, and for the Au-α-MoO3-based sensor, the thickness of Au and α-MoO3 was taken to be 50 nm and 10 nm, respectively. In both cases, the number of gratings was 28. The simulation demonstrated that in the case of the Ag-α-MoO3 configuration, the maximum and minimum sensitivity were 8.64 \(\mathrm{\mu m}/\mathrm{RIU}\) and 3.08 \(\mathrm{\mu m}/\mathrm{RIU},\) respectively, whereas in the case of the Au-α-MoO3 configuration, we obtained maximum and minimum sensitivity of 10.46 \(\mathrm{\mu m}/\mathrm{RIU}\) and 6.31 \(\mathrm{\mu m}/\mathrm{RIU},\) respectively. The performance of the proposed sensor was compared with other reported devices, as listed in Table 6. Based on the results, the D-shaped optical fiber SPR-based sensor is an affordable technique that has great potential for application in chemical and environmental diagnostic and sensing fields.

Table 6 Comparison with other reported works