1 Introduction

White blood cells include Immunoglobulin (IgG) glycoprotein molecules generated by plasma cells and offer infection protection. It can quickly identify viruses or bacteria. X-linked agammaglobulinemia and common variable immunodeficiency syndrome are two autoimmune and immunodeficiency illnesses for which IgG testing is crucial for the diagnosis. Therefore, the detection of IgG is a crucial regime of biosensing. In recent times, IgG has been detected in the work by using a variety of techniques, including surface plasmon resonance (SPR), electrophoresis, radial immunodiffusion, and immunoblotting (Wu et al. 2016). A technologically advanced analytical instrument, the biosensor is capable of detecting minute biomolecules at low concentrations. For instance, the photonic crystal structure has been utilized in various ways to demonstrate biosensing applications (Yang et al. 2023; Najafgholinezhad and Olyaee 2014; Olyaee and Bahabady 2015; Bahabady and Olyaee 2015; Parandin et al. 2021; Gowdhami et al. 2022). However, detecting extremely low amounts of antibodies like IgG is a challenge for biosensors (Wu et al. 2016). Fortunately, the label-free nature of SPR biosensors makes them a promising tool. Furthermore, it offers the benefits of swift and precise detection, along with reliability. (Ravindran et al. 2023; Uniyal et al. 2023; Mudgal et al. 2023). SPR biosensors are now studied and investigated by using various structures and configurations (Bahri et al. 2022; Ebadi et al. 2020; Ben Salah et al. 2022a, b; Mao et al. 2017). Hence, it is vital to understand the basic classification of these sensors. Based on the coupling, these sensors are categorized into four types such as prism, optical fiber, waveguide, and grating-based.

Nowadays, the planar waveguide-based SPR sensor has also become popular in the detection of bio-molecular interactions like Deoxyribonucleic acid (DNA) and IgG (Mondal et al. 2023). SPR theory demonstrates that the optical light incident on the waveguide-metal interface at an angle greater than the critical angle. The light metal interaction leads to the generation of surface plasmons polaritons (SPPs). Further, the SPP oscillations set a surface plasmon wave (SPW) at the interface by applying the attenuated total reflection (ATR) (Homola et al. 1999). The SPW excites the evanescent waves, which exponentially decay in the orthogonal direction of the interface (Lee et al. 2007). These decaying waves are used for sensing the presence of bio-molecules at the sensor surface. However, prism-based sensor configurations were also utilized for similar applications due to simplicity, immunity to noise, and high sensitivity (Janith et al. 2023; Kushwaha et al. 2018a; Mudgal et al. 2020a).

On the other hand, distributed coupling can be used in a metal-coated waveguide as it offers better design flexibility and monolithic integration capabilities with existing SPR technology (Lavers et al. 2020; Kim et al. 2018). The ability to build compact, monolithic, and multi-sensor systems is specially provided by a planar waveguide (PWG) and is connected to instruments by using optical fibers. Additionally, these biosensors can be miniaturized to detect chemicals or biological agents in inaccessible places (Mukundan et al. 2009). PWG-based sensors feature a unique platform that enables the detection of a wide variety of samples in conjunction with imaging systems (Moznuzzaman et al. 2021; Cherouana et al. 2023). Moreover, they possess the potential for integration with optoelectronic components and the capacity to adjust the penetration depth of the evanescent field by varying the reflection angle. (Agnarsson et al. 2010). The inclusion of PWG with the SPR phenomenon leads to resonance oscillations of SPWs (Kashyap and Nemova 2009). As a result, minimal transmittance (\({{\text{T}}}_{{\text{min}}}\)) occurs, which changes with the refractive index (RI) of the sensor surface and can be calculated using ATR (Pal et al. 2018). In general, to develop an SPR structure, a metal film comprising gold (Au) and silver (Ag) is typically deposited over the waveguide to facilitate Surface Plasmon (SP) propagation. Due to its high SPR ratio (\(|{\upvarepsilon }_{{\text{r}}}/{\upvarepsilon }_{{\text{i}}}|\)), Ag offers superior SPR performance, where \({\upvarepsilon }_{{\text{r}}}\) and \({\upvarepsilon }_{{\text{i}}}\) are the real and imaginary parts of the dielectric constant respectively (Sheng et al. 2019; Amirjani and Haghshenas 2018). In comparison to Au, Ag exhibits a steeper angular resonance curve, which indicates greater detection precision (Mitsushio et al. 2006; Beck et al. 2023). However, Ag lacks chemical stability, as evidenced by its quick oxidation (Jha and Sharma 2009). The inclusion of bimetallic, oxide, dielectric, and self-assembled monolayers can prevent Ag from oxidation and sulfurization (Han et al. 2020). Preservation of Ag surfaces can be achieved through a self-assembled monolayer (SAM), which also enhances sample adherence to metal surfaces (Gahlaut et al. 2022). Dielectric materials can improve SPR performance, but it is difficult to preserve their intricate shape and optical characteristics. Some researchers have developed a hybrid structure with bimolecular recognizing elements (BREs) that offer excellent SPR performance (Yun et al. 2022; Hanson and Whelan 2023). In this work, a structure based on silicon nitride (Si3N4) has been presented to enhance the sensing capability of the sensor. The \({{\text{Si}}}_{3}{{\text{N}}}_{4}\) layer on top of the silver layer, provides immunity against oxidation. Moreover, the high refractive index of Si3N4 imparts excellent chemical, thermal, and biocompatibility qualities (Wu et al. 2016; Mudgal et al. 2022). To further enhance the sensing capability, two-dimensional (2D) materials like black phosphorus (BP) have been placed over the dielectric material, where they can act as a bio-molecular carrier as well as a protective layer. The unique mechanical and optoelectrical properties of BP, like higher bandgap, made it one of the most popular 2D materials in photonic sensors. In addition, BP boosts detection capabilities by enhancing interlayer coupling within the Van der Waals force. The higher absorption energy of BP makes it one of the potential candidates to be used for biomolecule binding (Nangare and Patil 2023).

In 2018, Kushwaha et al. introduced an SPR sensor for IgG detection that incorporated zinc oxide, gold, MoS2, and Graphene, achieving a sensitivity of 101.5 \(^\circ /{\text{RIU}}\) (Kushwaha et al. 2018b). Following this, in 2020, Mudgal et al. enhanced the sensitivity of the SPR sensor using zinc oxide, bimetallic materials, BiTiO2, and graphene, reaching a sensitivity of 116.6 \(^\circ /{\text{RIU}}\) (Mudgal et al. 2020a). Raikwar et al. in 2018 explored sensors based on gold and graphene oxide, attaining a sensitivity (S) of 143 \(^\circ /{\text{RIU}}\), a detection accuracy (DA) of 0.16, and a quality factor (QF) of 23.72 RIU−1 (Raikwar et al. 2020). Furthermore, Singh et al. in 2020 reported improved sensor performance by incorporating gold, blue phosphorus, \({{\text{MoS}}}_{2}\), and antimonide, achieving an S of 198 \(^\circ /{\text{RIU}}\) and a DA of 0.15 (Singh et al. 2020).

Despite the various techniques and methods proposed for IgG detection, a strong demand remains for high-performance sensor technology in this field. This paper introduces an investigation of an SPR structure consisting of Ag, \({{\text{Si}}}_{3}{{\text{N}}}_{4}\), and BP to detect IgG using the transfer matrix method at a wavelength of 633 nm. The Ag layer is used due to its higher SPR ratio and provides better sensitivity as a substrate layer (Mudgal et al. 2020b). However, in the presence of biomolecules Ag gets oxidized, and hence reduces the lifetime of SPR biosensors (Qu et al. 2020). To overcome the oxidation issue, an anti-reflecting layer of \({{\text{Si}}}_{3}{{\text{N}}}_{4}\) is placed over it. \({{\text{Si}}}_{3}{{\text{N}}}_{4}\) got the attention because of its excellent chemical and thermal stability with a band gap of ~ 5 eV (Blázquez et al. 2014). Finally, a layer of BP is considered because of its ability to improve the adsorption rates, which is due to higher carrier mobility, interesting optical and electrical properties, and direct band gap (Blázquez et al. 2014).

The above brief survey of the literature reveals that dielectric materials, while capable of enhancing SPR performance, face challenges in maintaining their intricate shape and optical characteristics. Researchers have introduced a hybrid structure incorporating BREs for superior SPR performance. This work attempts to bring depth and novelty to the investigation of BRE-based structures by proposing a multilayer structure for the detection of IgG. Literature has not widely explored the effect of different configurations of hybrid structures. To evaluate the influence of the suggested sensor, an analysis of the sensing area is conducted, taking into account three layers: Ag, Ag-BP, and Ag–Si3N4. Each layer has a predefined role in the functioning of this biosensor. For instance, Si3N4 is utilized to boost sensing capability. To further elevate sensing capabilities, two-dimensional (2D) materials like black phosphorus (BP) have been applied over the dielectric material, serving as a biomolecular carrier and protective layer.

The remainder of this article is structured into several sections as follows. Section 2 sheds light on various aspects of design considerations, including transmitting power, reflectivity, and performance parameters. Section 3 begins by presenting the scheme for optimizing the thickness of the sensing layer, followed by an analysis of the sensor's performance. The final subsection in this section highlights a comparison of this work with similar studies that have been reported. Finally, the last section, Sect. 4, concludes this work by emphasizing the significant findings of this study and discussing its potential future prospects.

2 Design considerations

This section explicates the proposed planar waveguide-based SPR sensor's design and analysis process, including mathematical equations and design parameters.

2.1 Transmitting power

Figure 1 shows the schematic of the considered PWG-based SPR sensor for IgG detection. The overall structure is divided into two sections: initially, a lossless single-mode single-layer waveguide is employed as the initial component to couple the incident light and generate surface plasmons (SPs). This segment is positioned at the exposed portion of the waveguide. In the second segment, the structure interacts with the test samples. The primary design constraints for a PWG-based SPR sensor include the appropriate substrate material and operating wavelength. The phase matching between waveguide and SP modes is attained due to the low-index glass substrate when the sensor operates in a liquid RI medium. To facilitate the fabrication of waveguides and to cut down the cost of raw slides, the substrate glass having an RI of 1.46 can be used (Rahman et al. 2017). Conversely, the investigation of a PWG SPR sensor is prompted by the stability and inertness of the metal layer to the external environment (Duveneck et al. 1997). However, the sensor's performance diminishes when there are changes in the optical properties of the metal film.

Fig. 1
figure 1

Schematic of the proposed PWG-based SPR sensor

To create this biosensor (Raikwar et al. 2020), a dielectric slab was introduced between two layers with lower refractive indices. Both instances utilized the well-known optical phenomenon called Total Internal Reflection (TIR) to propagate and guide light along the core. In this proposed setup, the first layer consisted of a waveguide with Ag immobilization, having a diameter represented as 'D.' Additionally, the third layer was composed of Si3N4, while the fourth and fifth layers were formed by BP and ELISA:oPD enzymes, respectively. The respective thicknesses of the layers of Ag, \({{\text{Si}}}_{3}{{\text{N}}}_{4}\), BP, and enzyme were denoted as d2, d3, d4, and d5. A light source was employed to emit a light beam with a central wavelength of 633 nm, which triggered surface plasmon polaritons (SPP) at the interface between the waveguide and the metal. The collected light was then directed to a spectrometer on the opposite side for analysis. Considering that a beam of power, \({\text{P}}\) is launched at an angle of \(\uptheta\), and at the spectrometer, a power of \({\text{dP}}\) is collected at an angle of \(\mathrm{d\uptheta }\). Then, the mathematical expression for \({\text{dP}}\) can be written as (Loan et al. 2014; Diéguez et al. 2009);

$${\text{dP}} \propto {\text{P}}\left( \uptheta \right){\text{d}}\uptheta$$
(1)

where \({\text{P}}(\uptheta )\) is the modal power proportional to the incident angle which is mathematically manifested in Eq. (2) (Hossain et al. 2021).

$${\text{d}}\uptheta = \frac{{{\text{n}}_{{\text{c}}}^{2} \sin \uptheta \cos \uptheta }}{{\left( {1 - {\text{n}}_{{\text{c}}}^{2} {\text{cos}}^{2} \uptheta } \right)^{2} }}$$
(2)

where \({{\text{n}}}_{{\text{c}}}\) is the RI of the core waveguide.

Furthermore, by using the reflectance value of the waveguide and metal interface, the normalized transmitted power for a single reflection can be written as (Hossain et al. 2021)

$${\text{P}}_{{{\text{trans}}}} = \frac{{\mathop \smallint \nolimits_{{\uptheta_{{{\text{cr}}}} }}^{{{\uppi }/2}} {\text{R}}_{{\text{p}}}^{{{\text{N}}_{{{\text{ref}}}} \left( \uptheta \right)}} {\text{P}}\left( \uptheta \right){\text{d}}\uptheta }}{{\mathop \smallint \nolimits_{{\uptheta_{{{\text{cr}}}} }}^{{{\uppi }/2}} {\text{P}}\left( \uptheta \right){\text{ d}}\uptheta }}{ }$$
(3)

where \({{\text{N}}}_{{\text{ref}}}\left(\uptheta \right)=\frac{{\text{L}}}{{\text{D}}}\mathrm{tan\theta }\) is the summation of light reflections in the device, \(\uptheta\) is the incident angle with the normal to the core metal layer interface in the sensing region of length L, and D is the diameter of the waveguide (Hossain et al. 2021). The transmitting power responses are plotted for the proposed structure by exploiting the angular interrogation technique to assess the sensor’s performance. To investigate the structure RI of the designed parameters taken into consideration, such as Ag of \(0.056206+4.2776{\text{i}}\) (Beck et al. 2023), \({{\text{Si}}}_{3}{{\text{N}}}_{4}\) of 2.0394 (Wu et al. 2016; Gahlaut et al. 2022), BP of (\(3.5+0.1{\text{i}}\)Hossain et al. 2021), and an enzyme of \(1.8+0.3{\text{i}}\) (Wu et al. 2016). The thickness of the metallic layer is optimized by following the iteration approach, whereas the thicknesses of \({{\text{Si}}}_{3}{{\text{N}}}_{4}\), BP, and enzyme layers are 5 nm, 0.53 nm, and 0.11 nm, respectively (Mudgal et al. 2022; Nangare and Patil 2023). Finally, the topmost layer of the sensor comprises the sensing medium in the presence of IgG with RI of 1.343 and 1.353 (Wu et al. 2016).

2.2 Reflectivity

Since the transfer matrix method (TMM) is an effective method that doesn’t require any estimates, it is used to measure the reflectivity (\({{\text{R}}}_{{\text{p}}}\)) of an N-layered structure. Here, the thickness and dielectric constant of the kth layer along the z-axis are represented by dk and \({\upvarepsilon }_{{\text{k}}}\), respectively. Additionally, the tangential fields derived by linking the boundary conditions (perfectly matched layers i.e. PML are used as boundary conditions with a meshing of 0.029 μm in both directions) demonstrate the relationship between the initial (\({\text{Z}}={{\text{Z}}}_{1}=0\)) and final (\({\text{Z}}={{\text{Z}}}_{{\text{N}}-1}\)) conditions as given in Eq. (4) (Nangare and Patil 2023):

$$\left[ {\begin{array}{*{20}l} {{\text{P}}_{1} } \hfill \\ {{\text{Q}}_{1} } \hfill \\ \end{array} } \right] = {\text{H}}\left[ {\begin{array}{*{20}l} {{\text{P}}_{{{\text{N}} - 1}} } \hfill \\ {{\text{Q}}_{{{\text{N}} - 1}} } \hfill \\ \end{array} } \right]$$
(4)

where, \({{\text{P}}}_{{\text{N}}-1}\), \({{\text{Q}}}_{{\text{N}}-1}\), \({{\text{P}}}_{1,}\) and \({{\text{Q}}}_{1}\) signify the \({{\text{N}}}^{{\text{th}}}\) boundary tangential electrical and magnetic (EM) fields and the fields at the first layer boundary, respectively. The expression for the characteristics matrix (\({{\text{H}}}_{{\text{ij}}}\)) of the proposed structure in the presence of a monochromatic light source with TM polarization is discussed in Eq. (5) (Yun et al. 2022). Furthermore, the transverse RI (\({{\text{l}}}_{{\text{k}}}\)) and arbitrary stage constant (\({\upbeta }_{{\text{k}}}\)) for the \({{\text{k}}}^{{\text{th}}}\) layer are given by Eq. (6) and (7), respectively. The evaluation of wave impedance (\({{\text{Z}}}_{{\text{k}}}\)) and input angle (\({\uptheta }_{{\text{k}}}\)) can be done by using Eq. (8) and (9), respectively.

$${\text{H}}_{ij} = \left[ {\mathop \prod \limits_{{{\text{K}} = }}^{{{\text{N}} - 1}} \left( {\begin{array}{*{20}l} {\cos \upbeta_{{\text{k}}} } \hfill & { - {\text{i}}\upvarepsilon_{{\text{k}}} \sin \upbeta_{{\text{k}}} /\upvarepsilon_{{\text{k}}} } \hfill \\ { - {\text{i}}\upvarepsilon_{{\text{k}}} \sin \upbeta_{{\text{k}}} } \hfill & {\cos \upbeta_{{\text{k}}} } \hfill \\ \end{array} } \right)} \right] = \left[ {\begin{array}{*{20}l} {{\text{H}}_{{{11}}} } \hfill & {{\text{H}}_{{{12}}} } \hfill \\ {{\text{H}}_{{{21}}} } \hfill & {{\text{H}}_{{{22}}} } \hfill \\ \end{array} } \right]$$
(5)

where

$${\text{l}}_{{\text{k}}} = \left[ {\begin{array}{*{20}c} {\upmu _{{\text{k}}} } \\ {\varepsilon _{{\text{k}}} } \\ \end{array} } \right]^{{1/2}} {\text{cos}}\uptheta _{{\text{k}}} = \sqrt {\frac{{\upvarepsilon _{{\text{k}}} - \left( {{\text{n}}_{{\text{c}}} {\text{sin}}\uptheta } \right)^{2} }}{{\upvarepsilon _{{\text{k}}}^{2} }}}$$
(6)

and

$$\upbeta _{{\text{k}}} = \frac{{2\uppi }}{\uplambda }{\text{l}}_{{\text{k}}} {\text{cos}}\uptheta _{{\text{k}}} \left( {{\text{Z}}_{{\text{k}}} - {\text{Z}}_{{{\text{k}} - 1}} } \right) = \frac{{2\uppi }}{\uplambda }{\text{d}}_{{\text{k}}} \sqrt {\upvarepsilon _{{\text{k}}} - \left( {{\text{n}}_{{\text{c}}} {\text{sin}}\uptheta } \right)^{2} }$$
(7)
$${\text{Z}}_{{\text{k}}} = \frac{{{\text{k}}_{{\text{x}}} {\text{l}}_{{\text{k}}} {\text{cos}}\uptheta _{{\text{k}}} }}{{\left( {2\uppi {\text{c}}/\uplambda _{{633}} } \right)\upvarepsilon _{{\text{k}}}^{2} }}$$
(8)
$${\uptheta }_{{\text{k}}}={\left({\text{cos}}\sqrt{1-\left({{\text{l}}}_{{\text{k}}-1}/{{\text{l}}}_{{\text{k}}}\right){\left(\mathrm{sin\theta }\right)}^{2}}\right)}^{-1}$$
(9)

Parameters λ, \({\upmu }_{{\text{k}}}\), \(\overrightarrow{{{\text{k}}}_{{\text{x}}}}\) and θ represent the wavelength, permeability, incident wave vector, and incident angle, respectively. The expression for calculating the reflection coefficient (\({{\text{r}}}_{{\text{p}}}\)) and the Fresnel’s mode (\({{\text{R}}}_{{\text{p}}}\)) is described in Eq. (10) and (11), respectively:

$${{\text{r}}}_{{\text{p}}}=\frac{\left({{\text{H}}}_{11}+{{\text{H}}}_{12}{{\text{l}}}_{{\text{n}}}\right)-\left({{\text{H}}}_{21}+{{\text{H}}}_{22}{{\text{l}}}_{{\text{n}}}\right)}{\left({{\text{H}}}_{11}+{{\text{H}}}_{12}{{\text{l}}}_{{\text{n}}}\right)+\left({{\text{H}}}_{21}+{{\text{H}}}_{22}{{\text{l}}}_{{\text{n}}}\right)}$$
(10)
$${{\text{R}}}_{{\text{p}}}={\left|{{\text{r}}}_{{\text{p}}}\right|}^{2}$$
(11)

Here it is pertinent to note that the third-dimensional thickness of the suggested structure is considerably greater than the feature size within the computational plane (2D). Consequently, the impact of substrate thickness on the obtained outcomes can be disregarded by assuming, through mathematical means, that the structure is infinite in the third dimension (Ben Salah et al. 2019; Chao et al. 2021). As a result, all our simulations are conducted in 2D, allowing for a substantial reduction in computational time without sacrificing calculation accuracy.

2.3 Performance parameters

In general, the performance of the SPR sensor is analyzed in terms of Sensitivity (S), Quality Factor (QF), and Detection Accuracy (DA). Parameter S is the ratio of change in resonance angle (\({\nabla\uptheta }_{{\text{res}}}\)) to the RI (\({\nabla }_{{\text{n}}}\)). The width of the SPR spectrum in context to 50% of maximum transmittance is known as Full Width at Half Maximum (FWHM). The ratio of sensitivity to FWHM describes QF. The ratio of \({\nabla\uptheta }_{{\text{res}}}\) and FWHM gives the value of DA. In addition, we have also evaluated the dip-figure of merit (DFOM), which is the ratio of S and minimum transmittance (\({{\text{T}}}_{{\text{min}}}\)). The mathematical formulation of the parameters as mentioned earlier is given in Eqs. (1215) (Han et al. 2020).

$${\text{Sensitivity }}\;\left( {\text{S}} \right){ }\frac{{{\text{Change}}\;{\text{ in}}\;{\text{ resonance}}\;{\text{ angle}}\;{ }\left( {\nabla {\uptheta }_{{{\text{res}}}} } \right)}}{{{\text{Change}}\;{\text{ in }}\;{\text{refractive }}\;{\text{index }}\;\left( {\nabla {\text{n}}} \right)}}{^\circ \mathord{\left/ {\vphantom {^\circ {{\text{RIU}}}}} \right. \kern-0pt} {{\text{RIU}}}}{ }$$
(12)
$${\text{QF}} = { }\frac{{\text{S}}}{{{\text{Full }}\;{\text{width}}\;{\text{ half }}\;{\text{maximum }}\;\left( {{\text{FWHM}}} \right)}}\left( {{\text{RIU}}^{ - 1} } \right)$$
(13)
$${\text{DA}}= \frac{\nabla {\uptheta }_{{\text{res}}}}{{\text{FWHM}}}$$
(14)
$${\text{DFOM}}=\frac{{\text{S}}}{ {{\text{T}}}_{{\text{min}}}}$$
(15)

3 Results

3.1 Optimization of Ag thickness

To achieve the best performance of the structure, it's necessary to optimize the thickness of the Ag (silver) film. This optimization aims to maximize the absorption of energy from the optical signal, which is indicated by achieving minimum transmittance (\({T}_{min}\)) performance (Sheng et al. 2019). Figure 2 depicts the transmittance responses for various Ag film thicknesses, ranging from 40 to 60 nm in 5 nm increments. Table 1 contains the estimated values of \({T}_{min}\) and resonance angle (\({\uptheta }_{res}\)) for the data in Fig. 2. Notably, the lowest \({T}_{min}\) value of 0.0027 and a \({\uptheta }_{res}\) of 81.10° are achieved when the Ag film thickness is 50 nm. As the thickness of the Ag film changes, \({\uptheta }_{res}\) shifts right, indicating that the proposed sensor exhibits Surface Plasmon Resonance (SPR) properties (Amirjani and Haghshenas 2018). Consequently, an Ag film thickness of 50 nm has been selected for further analysis of the proposed sensor.

Fig. 2
figure 2

Transmittance responses for the proposed sensor at different Ag thicknesses

Table 1 Transmittance and resolution angle versus Ag thicknesses

3.2 Sensing performance analysis

The impact of the proposed structure is assessed by comparing its performance to that of three other structures: Ag, Ag-BP, and Ag–Si3N4. In Fig. 3a and b, the transmittance responses of all these structures are displayed under sensing medium refractive indices (RIs) of 1.343 and 1.353, respectively. As the number of layers increases, the spectral width widens due to a damping effect. Specifically, the Full Width at Half Maximum (FWHM) values are 1.46, 1.68, 2.25, and 2.70 degrees for Ag, Ag-BP, Ag–Si3N4, and the proposed structure, respectively. The sensing of the analyte is carried out in two steps: in the first step, an RI of 1.343 is considered in the sensing medium, and transmittance curves for Ag, Ag-BP, Ag–Si3N4, and Ag–Si3N4-BP are plotted in Fig. 3a. For all the combinations the incident angle varied from 75.50 to 81.10°. Secondly, the transmittance curves are recorded for all the aforementioned structure combinations and the incident angle varies from 77.42 to 84.62°, and plotted in Fig. 3b.

Fig. 3
figure 3

Transmittance responses for all considered structures at sensing RI: a 1.343 and b 1.353

The trend of \({T}_{min}\) values is inversely proportional to the number of layers, resulting from variations in penetration lengths at the waveguide-metal interface. The obtained \({T}_{min}\) values for Ag, Ag-BP, Ag-Si3N4, and the proposed structure are as follows: for Fig. 3a, they are 0.0466, 0.0289, 0.0199, and 0.0027, respectively. Similarly, in Fig. 3b, the \({T}_{min}\) values are 0.0366, 0.0187, 0.0011, and 0.0203 for Ag, Ag-BP, Ag–Si3N4, and the proposed structure, respectively.

Resonance angles and their changes for Fig. 3 are detailed in Table 2. Furthermore, parameters related to SPR), such as Sensitivity (S), Quality Factor (QF), Detection Accuracy (DA), and Dip- Figure of Merit (DFOM), are evaluated using Eqs. (1215) and are presented in Table 3. Notably, the proposed structure, Ag–Si3N4-BP, achieves the highest sensitivity of 352 \(^\circ /{\text{RIU}}\), surpassing conventional Ag, Ag-BP, and Ag–Si3N4 by 1.85, 1.73, and 1.23 times, respectively. This exceptional performance is attributed to the strong absorption capabilities of Si3N4 and BP (Homola et al. 1999; Mudgal et al. 2022). The proposed sensor configuration also provides wavelength flexibility, enhanced resolution, reduced cross-sensitivity, biocompatibility, longer lifetime, minimal signal damping, and improved integration. The layer of Si3N4 is also used to attain the anti-reflecting behavior that further resists the oxidation of Ag. Additionally, the performance improvement is due to the excellent optical properties and higher SPR ratio of Ag to confine SP to deep subwavelength and leading to sensitivity enhancement.

Table 2 Assessed parameters of \({\uptheta }_{{\text{res}}}\), \({\nabla\uptheta }_{{\text{res}}}\) and \(\nabla {\text{n}}\) for Fig. 3a and b
Table 3 Measured parameters of S, QF, DA and DFOM for Fig. 3a and b

The QF and DA performances of the proposed structure are nearly on par with the conventional sensor due to the sharp resonance dip of Ag. They are approximately 1.07 and 1.02 times greater than the Ag-BP and Ag–Si3N4 structures, respectively. Moreover, the proposed structure boasts the highest DFOM, standing at 130,370.37. This value is significantly higher, being 31.64 times greater than the conventional structure, 18.56 times greater than Ag-BP, and 9.04 times greater than Ag-Si3N4. For a visual representation of the SPR performance, including sensitivity and DFOM, please refer to Fig. 4. Additionally, Fig. 5 provides a graphical representation of the assessed QF and DA values for all structures. The QF and DA performances of the proposed structure are almost equal to the conventional sensor because of the sharp resonance dip of Ag. They are approximately 1.07 and 1.02 times greater than those of the Ag-BP and Ag-Si3N4 structures, respectively.

Fig. 4
figure 4

Graphical representation of sensitivity and DFOM with respect to the structures

Fig. 5
figure 5

Plots of QF and DA w.r.t the structures

Similarly, the proposed structure has achieved the highest DFOM of 130370.37, which is 31.64, 18.56, and 9.04 times greater than the conventional, Ag-BP and Ag–\({{\text{Si}}}_{3}{{\text{N}}}_{4}\), respectively. The graphical representation of the computed SPR performance of sensitivity and DFOM for all structures is mentioned in Fig. 4. The representation of assessed QF and DA is provided in Fig. 5.

In addition, the selectivity test of the proposed sensor is also carried out in the presence of IgG, MCF cancer cells (n = 1.401), ring red blood cells (RBC) (n = 1.395), urea (n = 1.36) and DNA (n = 1.361). The selectivity test is done by recording the transmittance curve for all the used biomolecules as shown in Fig. 6. From the results, it can be observed that the transmittance for IgG molecules is nearly < 1% which is due to the presence of a specific enzyme. However, for other biomolecules, the transmittance is nearly > 30%.

Fig. 6
figure 6

Selectivity test of the proposed sensor

It may be relevant to mention here that in practical cases, plasmonic loses and fabrication imperfections play an important role in the sensor performance. In the context of planar waveguides, a crucial aspect is managing signal dispersion, particularly regarding the waveguide height, which is required to be above 200 nm. At greater heights, dispersion patterns align across frequencies, while at smaller heights, variations in dispersion curves become more pronounced (Syms and Solymar 2014). Achieving optimal waveguide thickness is essential for precise mode confinement. During fabrication, meticulous attention to layer deposition is necessary to prevent air bubbles and ensure a uniform distribution of metallic layers. Non-uniform distribution may lead to scattering, compromising the comprehensive confinement of optical signals and potentially reducing sensor performance.

3.3 Comparative study analysis

Finally, the performance of the proposed sensor is compared with recent existing sensors and reported in Table 4. This study reveals that the proposed sensor outperforms existing sensors in terms of Sensitivity (S), Quality Factor (QF), and Detection Accuracy (DA). The attained performance parameters are S of 352 \(^\circ /{\text{RIU}}\), QF of \({130.37\mathrm{ RIU}}^{-1}\) and DA of 1.30. Moreover, the proposed work has evaluated the performance of DFOM as a new SPR parameter and found that the maximum DFOM is 130370.37. Therefore, it can be concluded that the proposed PWG-based SPR sensor contributes a better SPR performance by utilizing the structure of Ag–\({{\text{Si}}}_{3}{{\text{N}}}_{4}\)-BP to detect the bio-molecular interaction.

Table 4 Comparative study of the proposed and existing sensors

4 Conclusion

A high-performance planar waveguide-based SPR sensor for IgG detection has been presented in this work. The sensor structure consists of five layers: waveguide, Ag, BP, enzyme layer and sensing medium. To assess the impact of different design elements, three additional structures were investigated for performance analysis. The optimization process focused on the Ag thickness, leading to a minimum transmittance of 0.0027 achieved at an Ag thickness of 50 nm. Furthermore, the performance parameters were systematically analyzed across the four considered structures, considering minimal variations in IgG samples. Results show that the proposed structure, having Ag–Si3N4-BP as main constituents, has accomplished the highest sensitivity, 1.85, 1.73, and 1.23 times greater than the conventional Ag, Ag-BP and Ag–Si3N4, respectively. The comparative study with existing sensor structures is also explored, and it is observed that the proposed SPR amplifies the sensitivity and heightens the DFOM performance. Therefore, these findings suggest that the proposed SPR sensor, with its superior sensitivity and DFOM, holds great promise for IgG detection in the biomedical field. Notably this work can also be extended in future to investigate surface Immunoglobulin (SIg) densities.