1 Introduction

Surface plasmon resonance (SPR) is a well-known technique with potential sensing applications in a variety of domains, including biomedical science and environmental science [1, 2]. In recent years, the SPR sensor has gained popularity because of its label-free and real-time sensing [3, 4]. In traditional SPR sensing, a glass prism along with a thin metal film is employed to excite the surface plasmons (SPs) at the metal–dielectric interface. This phenomenon was first described in 1968 by Kretschmann using a high refractive index (RI) prism to couple light at the metal–dielectric interface surrounded by the sensing medium, in which angular interrogation method was used to see the sharp dip in the reflectivity spectrum [5]. However, the bulky and movable prism setup limits the prism-based sensing approach. The growing expectation for miniaturized, low-cost sensors suitable for remote sensing has been attracting researchers to propose new fiber-based sensors. Lidberg et al. originally presented SPR technology in a fiber-based sensor in 1983, which initiated this technology in the SPR sensing applications. These types of sensors have been widely employed in biomedical science, food safety, biomolecules detection, and environmental protection, etc. [6,7,8,9,10]. In the fiber sensing approach, a glass prism is replaced with the fiber core that is used to guide light waves and a small portion of fiber cladding is removed. Over unclad fiber, a metal layer is produced. For the evaluation of sensor performance, the sample to be detected is positioned around the layer of metal, and the resonance wavelength shift with the RI change is observed [11, 12]. Silver, copper, and gold are the most common plasmonic active metals. These are produced on the unclad fiber core’s surface. In comparison to these materials, gold is extremely stable. Because silver and copper have weak chemical stability and these are supposed to oxidize fast. This makes them lesser stable for the SPR sensor. As a result, applying a protective layer on the surface of these layers is a feasible option for making an SPR sensor more durable [13,14,15]. In recent times, the use of transition metal dichalcogenide (TMDC) materials such as WSe2, MoS2, MoSe2, and WS2 is seen in SPR sensing. These materials serve as supporting materials for enhancing plasmons in SPR sensing [16,17,18,19,20,21].

In this work, a protective layer of silicon nitride (Si3N4) has been deposited over the surface of the Ag layer that makes this structure more stable. Si3N4 has a huge bandgap (~ 5 eV) and received interest due to its excellent chemical and thermal stability [22, 23]. Here, we have used the Taguchi method to optimize the designing parameters employed in the proposed fiber SPR sensor. In the traditional approach, one factor at a time is optimized such that when the thickness of one layer is optimized, the thickness of the other layer is kept fixed. This process makes the high numbers of optimization tests. Due to this reason, the parameters generated with this approach are not sufficient for the designing of such sensors. The Taguchi technique aids in the creation of a robust design by taking into account all of the sensor’s control elements. As a result, a high-performance SPR biosensor can be made with a small number of tests.

2 Sensor Design Parameters

Taguchi’s optimized design of the proposed fiber-based SPR sensor is represented in Fig. 1. Here, the fused silica fiber core having a diameter of 600 µm is utilized to carry light waves from one side of the fiber to another side, in which a 10-mm length of fiber cladding is removed. Fiber optic probe with 600 µm of core diameter can be fabricated by removing 10-mm cladding portion from the middle region of a fiber using a sharp blade. After that, acetone and de-ionized water can be used to clean the unclad area of the fiber [24]. The RI of the fused silica core (ncore) may be calculated using the given dispersion equation [25] :

Fig. 1
figure 1

Plasmonic fiber-based sensor structure

$${\mathrm n}_{\mathrm{core}}\left(\lambda\right)=\left(1+\frac{{\mathrm a}_1\lambda^2}{\lambda^2-{\mathrm b}_1^2}+\frac{{\mathrm a}_2\lambda^2}{\lambda^2-{\mathrm b}_2^2}+\frac{{\mathrm a}_3\lambda^2}{\lambda^2-{\mathrm b}_3^2}\right)^{^1{/_2}}$$
(1)

Here, a1 = 0.6961663, b1 = 0.0684043, a2 = 0.4079426, b2 = 0.1162414, a3 = 0.8974794, and \({b}_{3}=9.896161\) are the Sellmeier coefficients and “λ” is the wavelength in nm [26]. Ag metal layer of the thickness of 50 nm is grown over the unclad portion of the fiber. Liquid-phase deposition technique can be used to deposit silver layer over the unclad surface of optical fiber [27]. The dielectric constant of this layer \({(\epsilon }_{Ag})\) is computed using the given Drude relation [28] :

$$\epsilon_{Ag}\left(\lambda\right)=1-\frac{\lambda^2\lambda_c}{\lambda_p^2(\lambda_c+i\lambda)}$$
(2)

here, \({\lambda }_{c}\) stands for collision (damping) wavelength and is defined as the wavelength corresponding to the damping of the oscillations of the electron density because of the collision among the electrons. The value of \({\lambda }_{c}\) is \({1.7614\times 10}^{-5} \mathrm{m}\). Furthermore, \({\lambda }_{p}\) stands for plasma wavelength. It is the wavelength that corresponds to the frequency of the electron density oscillations in the metal. The value of \({\lambda }_{p}\) is \({1.4541\times 10}^{-7} \mathrm{m}\) [29]. Next, to protect the silver layer from oxidation, a thin layer of Si3N4 of the thickness of 5 nm is grown over the covered region of the Ag layer. Magnetron sputtering technique can be used to deposit Si3N4 film on the surface of silver layer [30]. The dielectric constant for this can be computed using following relation [31] :

$$\epsilon_{\mathrm{Si}3\mathrm N4}\left(\lambda\right)=\left(1+\frac{3.0249\lambda^2}{\lambda^2-{0.1353406}^2}+\frac{40314\lambda^2}{\lambda^2-{1239.842}^2}\right)$$
(3)

At the transmitting end of the fiber, light is incident and propagates through the fiber. The evanescent wave is generated at the metal surface that excites the SPs wave when the light wave is completely reflected in the detecting area. Lastly, we chose water as the detecting medium, which has a RI of 1.33 and measured the change in RI from 1.33 to 1.43 which is suitable for most of the biological reaction. We are restricted to this range because the resonance curve does not follow standardization after this range.

3 Mathematical Modeling

When p-polarized light is emitted into the transmitting end, it travels to the receiving end. In this, light propagates through the mechanism of total internal reflection (TIR). So the evanescent wave of the propagating ray can be used to excite the SPs [32]. The surface plasmon wave vector \({(\beta }_{\mathrm{sp}}\)) and incident light wave vector \(({k}_{\mathrm{x}})\) should be identical for resonance. In terms of mathematics [33], the equation is as follows:

$$\beta_{\mathrm{sp}}={\mathrm k}_{\mathrm x}$$
(4)
$$\left\{\frac{2\pi}\lambda\mathrm{Re}\sqrt{\frac{\varepsilon_{\mathrm m}\;\varepsilon_{\mathrm{die}}}{\varepsilon_{\mathrm m}{+\varepsilon}_{\mathrm{die}}}}\right\}=\frac{2\pi}\lambda{\mathrm n}_{\mathrm{core}}\;\sin\theta$$
(5)

where \({\varepsilon }_{\mathrm{m}}\) and \({\varepsilon }_{\mathrm{die}}\) signify the dielectric constant of metal and sensing medium respectively, \({n}_{\mathrm{core}}\) denotes the RI of the fiber core and \(\lambda\) denotes the incident light wavelength.

For p-polarized wave incident at transmitting end at angle θ, the normalized transmitted power \(({P}_{trans})\) at the receiving end of the fiber can be computed as follows [34] :

$${\mathrm P}_{\mathrm{trans}}=\frac{\int_{\theta_{\mathrm{cr}}}^{\pi/2}\mathrm R_{\mathrm p}^{{\mathrm N}_{\mathrm{ref}}\left(\theta\right)}\left(\mathrm n_1^2\;\sin\theta\;\cos\theta/\left(1-\mathrm n_1^2\;\cos^2\theta\right)^2\right)\mathrm d\mathrm\theta}{\int_{\theta_{\mathrm{cr}}}^{\pi/2}\left(\mathrm n_1^2\;\sin\theta\;\cos\theta/\left(1-\mathrm n_1^2\;\cos^2\theta\right)^2\right)\mathrm d\mathrm\theta}$$
(6)

where \(N_{ref}=L/D\;\tan\theta\) denotes the total number of reflections performed by the incident wave in the sensing region, D and L denote the core diameter and the sensing region length respectively, \({\theta }_{cr}={\mathrm{sin}}^{-1}{n}_{cl}/{n}_{core}\) denotes the critical angle at the interface of the core-cladding while \({n}_{cl}\) and \({n}_{core}\) denote the RI of the cladding and core of the fiber respectively.

The Fresnel multilayer reflection theory is used to compute the reflectance \({(R}_{p})\) of this multilayer structure (core/metal/Si3N4/sensing medium) and is provided by [35].

$${R}_{p}={\mathrm{r}}_{\mathrm{p}}{{\mathrm{r}}_{\mathrm{p}}}^{*}=\left|{{\mathrm{r}}_{\mathrm{p}}}^{2}\right|$$
(7)

For p-polarized light, the reflection coefficient \({(r}_{\mathrm{p}})\) is as follows:

$${\mathrm r}_{\mathrm p}=\frac{q_1\left({\mathrm M}_{11}+{\mathrm M}_{12}q_{\mathrm N}\right)-\left({\mathrm M}_{21}+{\mathrm M}_{22}q_{\mathrm N}\right)}{q_1\left({\mathrm M}_{11}+{\mathrm M}_{12}q_{\mathrm N}\right)+\left({\mathrm M}_{21}+{\mathrm M}_{22}q_{\mathrm N}\right)}$$
(8)

here, for the \({j}^{\mathrm{th}}\) layer, \(M_j=\begin{bmatrix}\cos\beta\mathrm j&\frac{-\mathrm i}{{\mathrm q}_{\mathrm j}}\sin\beta_{\mathrm j}\\-{\mathrm{iq}}_{\mathrm j}\;\sin\beta_{\mathrm j}&\cos\beta_{\mathrm j}\end{bmatrix}\) is the characteristic matrix, in which transverse RI \(q_j=\sqrt{\left(\frac1{\varepsilon_{\mathrm j}}\right)}\cos\theta_{\mathrm j}=\sqrt{\left(\varepsilon_{\mathrm j}-\mathrm n_1^2\sin^2\theta_1\right)/\varepsilon_{\mathrm j}}\) and phase factor βj = ( ) nj \(\cos\theta_j\left({\mathrm z}_{\mathrm j}-{\mathrm z}_{\mathrm j-1}\right)\) ; where \(\left({\mathrm{z}}_{\mathrm{j}}-{\mathrm{z}}_{\mathrm{j}-1}\right)\) is the thickness of the \({j}^{\mathrm{th}}\) layer.

4 Sensor Performance Parameters

The sensor performance in this study is evaluated for sensitivity, quality factor, and detection accuracy. The sensitivity (\({S}_{\uplambda })\) is expressed in terms of resonance wavelength change (\(\delta\uplambda\)) and RI change \((\delta \mathrm{n})\) and can be expressed as follows [36] :

$${S}_{\uplambda }=\frac{\delta\uplambda }{\delta \mathrm{n}}\left(\frac{nm}{RIU}\right)$$
(9)

The quality factor (Q) is determined by the ratio of sensitivity to FWHM and can be written as follows [37] :

$$Q=S_\lambda/FWHM\left(\mathrm{RIU}^{-1}\right)$$
(10)

The FWHM of an SPR curve is the spectral width that corresponds to the 50% value of transmission spectra. The third important performance parameter is the detection accuracy which can be given by the ratio of \(\delta\uplambda\) to FWHM, mathematically [38] :

$$\mathrm{Detection \;accuracy}=\delta\uplambda /\mathrm{FWHM}$$
(11)

5 Result Analysis and Discussion

The Taguchi technique is a popular tool for increasing efficiency in research and development. It uses a unique design of orthogonal arrays to examine control parameters with only the few trials, greatly reducing the number of tests and increasing efficiency. It aids in determining the impact of a variety of control elements on the device quality characteristics. Furthermore, signal to noise (SNR) ratio in the Taguchi technique aids researchers to quickly identifying the best combinations of the desired design specifications [39]. In the presented work, Taguchi L9 orthogonal array is used to optimize the different control parameters of this structure. The diameter of the fiber core, length of the sensing region, and the thickness of the silver layer and the silicon nitride layer are taken as control factors that mainly affect the performance of the designed structure. These control factors are listed in Table 1. With these control factors, the appropriate orthogonal array is L9. FWHM and normalized transmitted power for all nine experiments can be calculated from Fig. 2. With the Taguchi array structure, the number of simulation trials has been cut from 81 (34) to 9 only. This saves cost, time, and the number of attempts while optimizing the SPR sensor’s design parameters.

Table 1 Studied control factors and level representation
Fig. 2
figure 2

SPR spectra of normalized transmitted power for different numbers of experiment

FWHM is the important parameter in designing of sensor that mainly gives the spectral width of the SPR curve. If the FWHM of the SPR curve is large, the quality factor and detection accuracy decrease as expressed in Eqs. 10 and 11 respectively. Here, we have optimized the performance for smaller the better SNR. Furthermore, SNR for the FWHM with the Si3N4 layer and without the Si3N4 layer is shown in Tables 2 and 3 respectively. It is seen that adding the Si3N4 layer reduces the FWHM which is the primary prerequisite for designing for such an SPR sensor. In Table 2, FWHM is calculated from the SPR curve that can plot with the help of Fresnel multilayer reflection theory and transfer matrix method. Furthermore, Taguchi L9 orthogonal array is used to calculate SNR for the desired control factors that we can consider smaller the better for FWHM.

Table 2 FWHM with their SNR for different experiments
Table 3 FWHM with their SNR without the Si3N4 layer for different experiment

Mean and SNR are calculated for FWHM and normalized transmitted power for all nine experiments. In Taguchi design analysis, SNR can be categorized as larger the better, nominal the best, and smaller the best. In designing of fiber SPR sensor, small FWHM and large normalized transmitted power are the prerequisites. Normalized transmitted power with SNR (smaller the better) for different experiments is shown in Table 4. Here, SNR is selected for smaller the better for best performance of the proposed sensor that can be calculated by the following equation [40] :

$${\mathrm{SNR}}_{\mathrm{Smaller}\;\mathrm{the}\;\mathrm{better}}={-10\log}_{10}(\frac1{\mathrm n}{\textstyle\sum_{\mathrm i=1}^{\mathrm n}}\mathrm Y_{\mathrm i}^2)$$
(12)

here, n represents the number of trials and Yi denotes the response for a specific factor-level combination.

Table 4 Normalized transmitted power with their SNR for different experiments

5.1 Interpretation of Response Table for FWHM

The response table is utilized to determine the appropriate level for each control factor. Response characteristics of different control factors with SNR for FWHM are depicted in Table 5. In this, the factors with the greatest effect on FWHM are identified using rank values and delta. The rank of sensing region length is one while the rank of silver layer thickness, core diameter, and Si3N4 layer is 2, 3, and 4 respectively. This means that the length of the sensing region has the highest contributing effect of smaller SNR for FWHM. The overall mean value of SNR for FWHM from Fig. 3 is obtained at − 23.365.

Table 5 Response table for SNR for different control factors for FWHM; smaller the better
Fig. 3
figure 3

SNR representation for FWHM with different control factors

5.2 Interpretation of Response Table for Normalized Transmitted Power

The response table for different control factors for the normalized transmitted power is shown in Table 6. In this, the thickness of the Ag layer with a delta value of 19.80 and rank 1 has the highest factor in optimizing normalized transmitted power in designing the proposed SPR sensor. Furthermore, the length of the sensing region and thickness of the Si3N4 layer are having ranks 2 and 3 respectively. Here, the diameter of the fiber core had the lowest factor with rank 4 in optimizing the normalized transmitted power. The main effect plot of SNR representation for normalized transmitted power with different control factors is shown in Fig. 4. This plot indicates that the thickness of the silver layer has the highest factor effect on SNR for the normalized transmitted power.

Table 6 Response table for different control factors for normalized transmitted power; smaller the better
Fig. 4
figure 4

SNR representation for normalized transmitted power with different control factors

5.3 Analysis of Variance (ANOVA) Interpretation

The analysis of variance (ANOVA), a popular statistical approach, is used to see which of the control factors had a significant impact on the performance parameters. ANOVA interpretation for FWHM and normalized transmitted power is given in Tables 7 and 8 respectively. The contribution of control factor was chosen to indicate the importance of a control factor. The high percentage value of a contribution has the greatest impact on the FWHM and normalized transmitted power. From Table 7, it is clear that the length of the sensing region has the highest contribution factor effect of 53.27% on FWHM followed by thickness of the silver layer and core diameter with 29.83% and 10% respectively while the thickness of the Si3N4 layer has least contribution effect of 6.90% on optimization of the FWHM. ANOVA analysis for normalized transmitted power depicted in Table 8 shows that the thickness of the silver layer has the highest contribution factor effect of 47.36% on optimization of the normalized transmitted power followed by the length of sensing region and the core diameter with 31.58% and 21% respectively while the thickness of Si3N4 layer has the least contribution factor effect of 0.06% on optimization of the normalized transmitted power.

Table 7 Analysis of variance (ANOVA) for FWHM with different control factors
Table 8 Analysis of variance (ANOVA) for normalized transmitted power with different control factors

In conclusion, the best selection of control parameters with the Taguchi optimization method for designing the proposed SPR sensor is given in Table 9. Based on these parameters, we have a designed a fiber SPR sensor for the RI ranging from 1.33 to 1.43. The plot for normalized transmitted power with RI of sensing medium is shown in Fig. 5a. In this, when we are increasing the RI of the sensing medium, the resonance wavelength shifts to a higher value. The value of resonance wavelength for respective RI of sensing medium is plotted in Fig. 5b and also depicted in Table 10. The values of sensitivity, quality factor, and detection accuracy which are given in Table 10 can be calculated by using Eqs. 9, 10, and 11 respectively. Here, the maximum sensitivity of 6287 nm/RIU is achieved for the varying RI from 1.33 to 1.43 while the maximum quality factor and detection accuracy are 873.19 RIU−1 and 87.31 respectively. As a result, the Taguchi approach can be utilized to optimize the designing parameters and can assist in designing the fiber SPR sensor.

Table 9 Best selection of control parameter with Taguchi method
Fig. 5
figure 5

(a) Plot of the SPR spectra and (b) the shift of resonance wavelength for the core-Ag-Si3N4 configuration with different RI of the sensing medium

Table 10 Performance characteristics of proposed structure for different RI of sensing medium

6 Conclusion

In a nutshell, this study focused on the use of numerical analysis, specifically transfer matrix method (TMM) and Taguchi’s method, as an appropriate and reliable approach for improving the control parameters of a Si3N4-based fiber plasmonic sensor. Signal to noise ratio is kept smaller the better (STB) for both the FWHM and the normalized transmitted power. Using ANOVA analysis, firstly the thickness of the silver layer has the highest contribution of 47.36% while the thickness of Si3N4 has the least contribution of 0.06% for the normalized transmitted power. Secondly, on the FWHM, the length of the sensing region has the largest dominant factor effect of 53.26%, while the thickness of the Si3N4 layer has the least dominating factor effect of 6.90%. With Taguchi optimization, the best control parameters which contribute maximum normalized transmitted power and minimum FWHM are 600 µm of core diameter, 10 mm of the length of sensing region, 50 nm thickness of the silver layer, and 5 nm thickness of Si3N4 layer. Considering all these optimized parameters, the maximum sensitivity of 6287 nm/RIU is obtained while the quality factor and detection accuracy are 873.19 RIU−1 and 87.31 respectively. Hence, the Taguchi optimization method is strongly suggested in nanotechnology due to its ability to optimize control factors in the endeavor to design effective fiber SPR sensors.