Introduction

Tuberculosis (TB) is an infectious illness caused by Mycobacterium tuberculosis (MBTS). When a person coughs, for instance, MBTS can spread through the air. TB is a key cause of health worsening and mortality worldwide [1]. TB is a multisystem infectious disease because it affects various organ systems. About 25% of people are thought to have TB due to the high infection rate [2, 3]. The UN set 17 sustainable development goals in 2015, one of which is to eliminate TB by 2030. But TB research is obscured by the resource allocations such as laboratories, manpower, and clinical services [4]. Similar to other infectious illnesses, TB needs early diagnosis since treatment in the early stages can be much more effective. A microscopic examination of sputum smears, a tuberculin test, chest X-ray, tissue biopsy analysis, sputum culture, and computed tomography scan are some of the latest advancements in the diagnosis of tuberculosis. The gold standards for these are bacterial culture and acid-fast bacilli smear microscopy [5]. However, it is predicted that microscopic smear tests can identify pulmonary tuberculosis with a sensitivity of up to 70% [6]. The culture method for detecting TB mycobacterial requires 2–8 weeks and there is a limit to the minimum number of bacteria that can be detected [7]. In comparison to sputum culture, the analysis of sputum after acid-fast (ADF) staining is simpler and faster for the diagnosis of pulmonary TB. ADF staining is fast, inexpensive, and simple. Sample processing, smears thickness, conservation and preparation of the reagents, microscope quality and the proficiency of the technical team can all influence the ADF staining sensitivity and specificity [8]. In order to increase the effectiveness of the currently used techniques, additional investigations have been carried out. For instance, computer-aided tuberculosis detection using digital chest X-ray has become more prevalent in a variety of settings. However, computer-aided detection still requires improvement [9].

A subclass of surface plasmons is the surface plasmons resonance (SPRE). The SPRE sensor is used in a variety of biosensing applications, including the detection, analysis, and characterization of biomolecules and chemicals [10, 11]. Additionally, these detectors are very sensitive and enable real-time analyte measurement [12]. The SPRE sensor exhibits a sharp dip in the resonance profile at the resonance frequency/wavelength at the particular refractive index (RI) of the sensing layer [13]. The most preferred arrangement for the sensor's design is the Kretschmann configuration [14]. In this arrangement, the structure has a prism with a low RI with a metal layer is coated on its surface. The metal layer is responsible for the surface plasmons generation. A 2-dimensional (2D) material is utilized in the SPRE structures to enhance the sensor performance since the metal has low adsorbability [15,16,17,18]. To improve the biosensor performance, a Gr sheet can be used. Gr is a planar, 2D honeycomb lattice structure made of carbon atoms. It has exceptional electrical and optical properties [19, 20]. In addition to its outstanding mechanical characteristics, Gr also exhibits electrical conductivity, transparency, and biocompatibility. The strongest material is Gr, which also has a great degree of flexibility. Its tensile strength ranges from 15 to 520 MPa whereas Young's modulus is between 20 and 40 GPa [14]. This makes it the perfect choice for biomedical electronic devices. Additionally, it can accommodate fats, RNA, DNA, and biological tissue. Greater transparency and broadband absorption are characteristics of Gr [21]. Its high surface-to-volume ratio permits the adsorption of biomolecules. The carbon ring-like structure of the biomolecules makes them easily able to interact with the Gr structure. This property increases the biomolecule adsorption in the sensor [22]. An SPRE biosensor using Ag and Gr with a minimum reflectance of 0.4674 and a sensitivity of 176 deg./RIU was proposed [23]. A biosensor using an Ag layer and few layers of Franckeite was proposed with a maximum sensitivity of 188 deg./RIU [24]. A biosensor has been demonstrated which has Au, MoS2, Ni and Gr and a sensitivity of 229 deg./RIU [25]. An SPRE structure with black phosphorus as a 2D material and Au has been theoretically investigated as a sensor. A sensitivity of 245.5 deg./RIU was achieved [26]. A biosensor consisting of black phosphorus, silicon, and transition metal dichalcogenides (TMDC) has been studied and a sensitivity of 184.6 deg./RIU has been attained [27]. The plasmonic enhancing effects of black phosphorus in an SPRE structure stem from its enhanced light-matter interaction, high carrier mobility, tunable bandgap, and field confinement capabilities. These properties make black phosphorus a promising material for enhancing the sensitivity and performance of SPRE-based biosensors and other plasmonic devices. The effects of TMDC in an SPRE structure arise from their strong light-matter interaction, exciton resonances, tunable optical properties, enhanced energy transfer, and ultrathin nature. These properties make TMDs promising materials for enhancing the sensitivity, selectivity, and overall performance of SPRE-based biosensors. Recent studies show that barium titanate (BaTiO3) possesses unusual dielectric properties such as minimum loss and high RI. Moreover, it is able to create a considerable shift in the resonance SPRE dip with a smaller increment in the RI of an analyte layer [28]. BaTiO3 is a porous material with a 50–70% porosity. The average pore size is about 30 μm in diameter. It was reported that BaTiO3 does not show short-term toxicity [29]. Tetragonal crystalline BaTiO3 nanoparticles display unusual optical properties and biocompatibility. Furthermore, they do not change their morphology [30]. Most of the current SPRE structures suffer the problems of large FWHM, low-quality factor and low sensitivity. Incorporation of a BaTiO3 layer in an SPRE structure offers plasmonic enhancing capabilities through enhanced field localization, tunability of the resonance condition, improved light-matter interaction, and reduced losses. These capabilities contribute to the overall performance and sensitivity of the SPRE sensor [31,32,33]. Too much work has to be done before SPRE sensors can be commercialized.

In the current paper, a BaTiO3 layer is placed on the top of Ag thin film to improve the biosensor sensitivity, decrease the FWHM of the resonant dip, and improve the quality factor. An additional Gr layer is deposited on the top of the BaTiO3 layer to enhance the adsorption of biomolecules and hence improve the sensor sensitivity to MBTS.

Design Consideration

The He–Ne laser beam with a wavelength of 632.8 nm is coupled into an SPRE nanostructure using a BK7 glass prism with a RI of np. The SPRE structure has five layers: BK7 glass prism, Ag, BaTiO3, Gr and analyte medium. The thicknesses of Ag, BaTiO3 and Gr layers are symbolized as dAg, dBaTiO3 and dG and the RIs are denoted as nAg, nBaTiO3 and nG, respectively. Figure 1 shows a schematic diagram of the proposed SPRE sensor that is based on BaTiO3-Gr layers.

Fig. 1
figure 1

An SPRE sensor based on BaTiO3- Gr layers

The BK7 glass prism has a RI given by [34]

$${n}_{p}\left(\lambda \right)=\sqrt{1+\frac{{S}_{1} {\lambda }^{2}}{{\lambda }^{2}-{U}_{1}}+\frac{{S}_{2} {\lambda }^{2}}{{\lambda }^{2}-{U}_{2}}+\frac{{S}_{3} {\lambda }^{2}}{{\lambda }^{2}-{U}_{3}}}$$
(1)

where S1 = 1.03961212, S2 = 1.01046945, S3 = 0.231792344, U1 = 0.00600069867, U2 = 103.560653 and U3 = 0.0200179144.

The RI of the Ag metal is calculated using Drude-Lorentz model [35]

$${n}_{Ag}\left(\lambda \right)={(1-\frac{{\lambda }_{cw} {\lambda }^{2}}{{{\lambda }_{pw}}^{2}\left({\lambda }_{cw}+i\lambda \right)})}^{1/2}$$
(2)

where \({\lambda }_{cw}=1.7614\times {10}^{-5} m\) and \({\lambda }_{pw}=1.4541\times {10}^{-7} m\) are the collision and plasma wavelengths of Ag. The RI of Gr can be calculated as [36]

$${n}_{G}\left(\lambda \right)=3+\lambda \frac{\varphi }{3}i, \varphi = 5.446\mu {\text{m}}^{-1}$$
(3)

The RI of BaTiO3 is 2.0 at λ = 632.8 nm [35].

Only p-polarized light (TM-polarization) in naturally occurring materials with positive permittivity and permeability exhibits the phenomenon of SPRE. The angular modulation method can be used to study the proposed structure. With the use of the TM technique and Fresnel theory, the reflectance of waves (p-polarized) can be studied. For the surface plasmon to be stimulated, the propagation constants of the wave and the surface plasmon must be equal. In a mathematical form

$$\frac{\omega }{c}\sqrt{{\varepsilon }_{p}} sin{\theta }_{i}=\frac{\omega }{c}\sqrt{\frac{{\varepsilon }_{Ag}{\varepsilon }_{d}}{{\varepsilon }_{Ag}{+\varepsilon }_{d}}}$$
(4)

where εp, ω, εAg, θi and εd are the dielectric permittivity of the prism, the incident radiation frequency, the metal dielectric permittivity, the incident angle and the dielectric permittivity, respectively.

Along the z-axis, several layers are stacked. The tangential field components at the first interface can be written in terms of those at the last interface as

$$\left[\begin{array}{c}{X}_{1}\\ {H}_{1}\end{array}\right]={B}_{T}\left[\begin{array}{c}{X}_{N-1}\\ {H}_{N-1}\end{array}\right]$$
(5)

where X1 (H1) and XN-1 (HN-1) are the tangential electric (magnetic) fields at the first and the last boundaries, respectively. BT is the TM that relates the field components to these boundaries. For the jth layer, the TM (Bj) can be written as

$${B}_{j}=\left[\begin{array}{cc}\mathrm{cos}({U}_{j})& -\frac{i \mathrm{sin}({U}_{j})}{{P}_{j}}\\ -i{P}_{j}\mathrm{sin}({U}_{j})& \mathrm{cos}({U}_{j})\end{array}\right]$$
(6)

\({U}_{j}\) is the phase shift which is given by

$${U}_{j}=\frac{2\pi }{\lambda }{d}_{j}{({\varepsilon }_{j}-{{{(n}_{1}\mathrm{sin}\theta }_{1})}^{2})}^{0.5}$$
(7)

where n1 and θ1 are the RI and the incident angle of the prism.

For TM waves, Pj is defined as

$${P}_{j}={({\varepsilon }_{j}-{{{(n}_{1}\mathrm{sin}\theta }_{1})}^{2})}^{0.5}/{\varepsilon }_{j}$$
(8)

The system TM (BT) of the structure can be written as

$${B}_{T}={B}_{Ag} {B}_{BaTiO3}{ B}_{G}=\left[\begin{array}{cc}{B}_{11}& {B}_{12}\\ {B}_{21}& {B}_{22}\end{array}\right]$$
(9)

where \({B}_{Ag}\), \({B}_{BaTiO3}\) and \({B}_{G}\) are the TMs of the Ag, BaTiO3 and Gr layers.

The reflection coefficient (r) of the structure is given in terms of Bij as

$$r=\frac{\left({B}_{11}+{B}_{12}{P}_{N}\right){P}_{1}-({B}_{21}+{B}_{22}{P}_{N})}{\left({B}_{11}+{B}_{12}{P}_{N}\right){P}_{1}+({B}_{21}+{B}_{22}{P}_{N})}$$
(10)

The reflectivity (R) of the proposed SPRE nanostructure is given by

$$R={r.{r}^{*}=\left|r\right|}^{2}$$
(11)

Sensitivity (S), FWHM, detection accuracy (DA), and figure of merit (FOM) of SPRE sensors are usually estimated for the sensor performance. When a change in the RI (Δn) of the sensing medium occurs, the resonant angle shifts by an amount Δθres. The sensitivity depends on both Δn and Δθres according to

$$S= \frac{\Delta {\theta }_{res}}{\mathrm{\Delta n}}$$
(12)

The FWHM is obtained from the reflectance curve as

$$FWHM= {\theta }_{2}-{\theta }_{1}$$
(13)

where θ1 and θ2 are the resonance angles at 50% reflectivity.

DA is the reciprocal of the FWHM multiplied by \(\Delta {\theta }_{res}\).

$$DA=\frac{\Delta {\theta }_{res}}{FWHM}$$
(14)

FOM is the product of S and DA of the sensor

$$FOM=S\times DA$$
(15)

The quality factor (QF) of an SPRE can be calculated as

$$QF=\frac{\mathrm{S}}{FWHM}$$
(16)

Results and Discussion

Fabrication Feasibility

This subsection describes the steps involved in fabricating the proposed multilayer SPRE chip. Initially, a solution containing acetone, methanol, and deionized water is applied to the BK7 prism. Subsequently, a thin silver film is coated onto the prism using a deposition technique such as thermal evaporation or physical vapor deposition. To synthesize the BaTiO3 material, a hydrothermal reaction is carried out by reacting TiO2 with an aqueous solution of Ba(OH)2. This reaction results in the formation of highly crystallized and well-dispersed perovskite-type BaTiO3. For the production of a single layer of graphene, chemical vapor deposition is considered the most promising method as it yields high-quality single-layer graphene. Subsequently, a blood sample is poured onto the sensor chip area for sensing purposes. The entire SPRE chip is then placed on a rotating table, and an optical detector positioned at the output side of the prism receives the reflected light and determines its intensity.

MBTS Sensor

An SPRE structure-based optical sensor is investigated for sensing MBTS bacteria. The following calculations will be conducted at \(\lambda\) = 632.8 nm. The SPRE sensor has five layers: BK7 glass prism, Ag, BaTiO3, Gr and analyte medium. The RIs of “Design Consideration” to the expressions presented in Sect.  2. The RIs of the materials are given by np = 1.5151, nAg = 0.056206 + 4.2776i, nBaTiO3 = 2 and nG = 3 + 1.1487i for BK7 glass prism, Ag, BaTiO3 and Gr. Layer thicknesses are initially chosen as dAg = 40 nm, dBaTiO3 = 1 nm and dG = L × 0.34 nm where L is the number of Gr layers (initially, L = 1). Either a normal blood sample (NBSE) or a sample infected with tuberculosis bacteria (TBj), j = 1—4 makes up the analyte layer. The RIs of NBSE and TBj samples are reported in Table 1 [37]. We have used Wolfram Mathematica 11.2 software to conduct the simulation. Figure 2 shows the reflectance curves when NBSE and TBi are handled as sensing media. The figure shows a resonant dip at a resonant angle of 71.19 deg. when NBSE is used as a sensing medium. When TBi samples are used as sensing media, the resonant angle moves to a lower angle region. The dip angular position is found cell-dependent. They are at 70.79, 70.66, 70.41 and 70.16 deg. for TB1, TB2, TB3 and TB4 cells. The sensitivity is found as 133.33, 132.5, 130 and 128.75 deg./RIU for TB1, TB2, TB3 and TB4 cells. Table 1 displays the RIs of different samples, the dip position, and the sensitivity of the proposed SPRE biosensor to each cell.

Table 1 Dip position and sensitivity to tuberculosis cells. (dAg = 40 nm, dBaTiO3 = 1 nm, and dG = 1 \(\times\) 0. 34 nm)
Fig. 2
figure 2

Reflectivity versus the θi at dAg = 40 nm, dBaTiO3 = 1 nm, and dG = 1 \(\times\) 0. 34 nm

Effect of Ag Layer Thickness

A proper selection of the layer thicknesses of the SPRE structure is necessary and can significantly enhance the sensor performance. This subsection and the following include an investigation of the various options for layer thicknesses. So, for a constant thickness of BaTiO3 (dBaTiO3 = 1 nm) and a monolayer of Gr (L = 1), we study the effect of the Ag thickness on the SPRE sensor performance. We consider two samples here: NBSE and TB4. The Ag thickness is varied from 40 – 65 nm in a step of 5 nm. The reflectance spectrum corresponding to each Ag thickness is studied and some of these spectra are illustrated in Fig. 3(a) and (b) for dAg = 40 nm and 60 nm, respectively. Figure 4 illustrates the sensitivity variation for different thicknesses for the Ag layer which shows an increase from 128.75 deg./RIU at dAg = 40 nm to 136.25 deg./RIU at dAg = 65 nm. The sensitivity shows a maximum at dAg = 65 nm. Table 2 reports the variation of the dip angular position, angular shift and sensitivity corresponding to different Ag layer thicknesses. Table 3 presents the variation of FWHM, DA, and FOM for different thicknesses of Ag. The FWHM decreases from 2.35 to 0.82 deg. as the Ag thickness increases from 40 to 65 nm. This decrease in the FWHM significantly improves the DA of the SPRE sensor, as shown in Table 3. It is obvious that when the Ag layer thickness increases, the DA rises as well. The maximum DA is 1.219512195 deg.−1 at dAg = 65 nm. The FOM also enhances as the Ag thickness rises because both the sensitivity and the DA are enhanced. As the thickness of the Ag layer increases, the transfer of incident wave energy to surface plasmon is dramatically enhanced. This causes an efficient excitation of surface plasmon which leads to a very high sensitivity and quality of the SPRE sensor. Consequently, the optimized Ag layer thickness is 65 nm which corresponds to the best performance. It is worth mentioning that if the Ag layer thickness is increased above 65 nm, the resonance dip disappears. So, a thickness of 65 nm can be considered as optimum.

Fig. 3
figure 3

Reflectivity versus the incidence angle at dBaTiO3 = 1 nm, and dG = 1 \(\times\) 0. 34 nm. a dAg = 40 nm and b dAg = 60 nm

Fig. 4
figure 4

S versus dAg at dBaTiO3 = 1 nm and a monolayer of Gr

Table 2 Variation of the angular position and sensitivity for different Ag thicknesses at dBaTiO3 = 1 nm and a monolayer of Gr
Table 3 Variation of the sensor performance parameters for different thicknesses of Ag at dBaTiO3 = 1 nm and a monolayer of Gr

Effect of BaTiO3 Layer Thickness

The thickness of BaTiO3 layer is varied in the range from 1 – 9 nm and the reflectance spectrum is studied for each thickness. Two of these spectra are shown in Fig. 5 for the normal blood and TB4 samples. The sensitivity is observed to enhance with the increase of BaTiO3 layer thickness (Fig. 6). It increases from 136.25 to 267.5 deg./RIU as the thickness of BaTiO3 increases from 1 to 9 nm as reported in Table 4. The sensitivity is considerably improved by 96.33% due to the increase in the BaTiO3 layer thickness. The angular position of the resonant dip shifts to higher angles as the thickness of BaTiO3 increases. On the other hand, inspection of Table 5 shows that the FWHM of the SPRE dips gets broader and broader as dBaTiO3 thickness increases from 1 to 9 nm which indicates that the energy loss of the SPRE biosensor is gradually enhanced with increasing the thickness of BaTiO3 layer. Since DA is the reciprocal of FWHM, it is reduced as dBaTiO3 increases as presented in Table 5. When dBaTiO3 changes from 1 to 9 nm, the DA decreases from 1.219512195 to 0.418410042 deg.−1 which means a decline by about 65.7% of its initial value. Moreover, Table 5 pointed out that a gradual decrease has occurred in FOM owing to the increase of BaTiO3 layer thickness. It is observed that the resonant dip disappears for dBaTiO3 > 9 nm.

Fig. 5
figure 5

Reflectivity versus the incidence angle at dAg = 65 nm, and dG = 1 \(\times\) 0. 34 nm. a dBaTiO3 = 3 nm and b dBaTiO3 = 7 nm

Fig. 6
figure 6

S versus dBaTiO3 at dAg = 65 nm and a monolayer of Gr

Table 4 Variation of the angular position and sensitivity for different BaTiO3 thicknesses at dAg = 65 nm and a monolayer of Gr
Table 5 Variation of the sensor performance parameters for different thicknesses of BaTiO3 at dAg = 65 nm and a monolayer of Gr

Effect of the Number of Gr Layers

The sensor performance is examined as the number of Gr layers varies. The Ag and BaTiO3 are kept constant at 65 nm and 9 nm, respectively. Figures 7(a) and (b) show some of the spectra for Gr layers with L = 1 and L = 3, respectively. The sensitivity rises as the number of Gr sheets increases from L = 1 to L = 2 (Fig. 8). A further increase in the number of Gr sheets above L = 2 leads to a sensitivity decline as shown in Table 6. The greater absorption due to the imaginary part of the Gr dielectric constant is responsible for the sensitivity decline as more sheets of Gr are added [38, 39]. However, in a similar manner to increasing the BaTiO3 layer thickness, any growth of the number of Gr sheets above L = 1 is accompanied by a FWHM enhancement which has a negative impact on the DA and FOM of the proposed sensor (Table 7). The FWHM is directly proportional to damping in the surface plasmons which enhances with an increase in the number of Gr sheets due to the imaginary part of the Gr dielectric constant [40]. Therefore, it can be inferred that the performance of the SPRE sensor will deteriorate as the number of Gr sheets increases. A Gr bilayer may be the best choice for the proposed SPRE biosensor.

Fig. 7
figure 7

Reflectivity versus θi at dAg = 65 nm, and dBaTiO3 = 9 nm. dG = L \(\times\) 0. 34 nm where a L = 1 and b L = 3

Fig. 8
figure 8

S versus L (number of Gr sheets) at dAg = 65 nm, and dBaTiO3 = 9 nm

Table 6 Variation of the angular position and sensitivity for different numbers of Gr layers at dAg = 65 nm and d BaTiO3 = 9 nm
Table 7 Variation of FWHM, DA, and FOM for different numbers of Gr layers at dAg = 65 nm and dBaTiO3 = 9 nm

Tuberculosis Sensor Optimization

The optimal conditions are dAg = 65 nm, dBaTiO3 = 9 nm, and dG = L × 0.34 nm where L = 2. At these conditions, the reflectance is investigated in Fig. 9 for all samples which displays that the angular dip shifts to lower angles of incidence as the tuberculosis-infected samples replace the NBSE. The angular positions of the resonant dips along with sensitivity are reported in Table 8. The sensitivity of the optimized SPRE structure is found as 300, 297.5, 290 and 286.25 deg./RIU for the samples of TB1, TB2, TB3 and TB4. Additionally, Table 9 displays the FWHM, DA, and FOM which are all indicators of the sensor performance. Based on these values, the proposed BaTiO3-Gr-based SPRE sensor exhibits good performance with the optimum layer thicknesses. Table 10 also offers a comparison of the current and previously reported works. With this performance, we believe that the proposed BaTiO3-Gr-based SPRE sensor can find widespread use in the field of biosensing technologies.

Fig. 9
figure 9

Reflectivity versus the incidence angle at dAg = 65 nm, dBaTiO3 = 9 nm, and dG = 2 × 0.34 nm

Table 8 Dip angular position and sensitivity to different tuberculosis cells at dAg = 65 nm, dBaTiO3 = 9 nm, and dG = 2 \(\times\) 0. 34 nm
Table 9 Variation of FWHM, DA, and FOM of different samples of TB bacteria at the optimized parameters
Table 10 Comparing the sensitivity of the current work with the most recent works

Conclusion

An SPRE-based biosensor based on BaTiO3-Gr layers has been theoretically suggested and numerically investigated for sensing tuberculosis bacteria in the blood. The reflectivity of TM-polarized waves using the TM technique has been analyzed. Silver (Ag), barium titanate (BaTiO3), and Gr thicknesses of the proposed SPRE sensor have been optimized. When the thicknesses are taken as dAg = 40 nm, dBaTiO3 = 1 nm and dG = L × 0.34 nm (L = 1), a sensitivity of about 130 deg./RIU has been obtained. When the Ag layer thickness increases, all the sensor performance parameters are enhanced. This can be attributed to the following: as the Ag thickness increases, the transfer of incident light energy to surface plasmon is dramatically enhanced. This leads to an efficient excitation of surface plasmon. When the BaTiO3 thickness is increased, the sensitivity is observed to considerably improved by 96.33%. On the other hand, the FWHM of the SPRE dips gets broader and broader as dBaTiO3 thickness increases which indicates that the energy loss of the SPRE biosensor is gradually enhanced with increasing the thickness of BaTiO3 layer. When the number of Gr layers increases, the sensitivity rises as the layers of Gr sheets increase from L = 1 to L = 2. A further increase in the number of Gr sheets above L = 2 leads to a sensitivity decline. The optimal conditions of the SPRE structure are found as dAg = 65 nm, dBaTiO3 = 9 nm, and dG = L × 0.34 nm where L = 2 at which the sensitivity can reach about 300 deg./RIU. It is believed the proposed BaTiO3-Gr-based SPRE sensor can find widespread use in the field of biosensing technologies.