1 Introduction

Of course, any disease causes signs and symptoms in certain body fluids such as blood and urea [1]. Therefore, to diagnose these diseases, it may be helpful to study the blood and examine the associated properties and their changes [2]. One of the most appropriate studies is to examine the optical properties of the blood plasma. In other words, changes in the refractive index of blood plasma can be a sign of various diseases. Tuberculosis is one of the most common and dangerous diseases that can influence on the refractive index of blood plasma [3]. Tuberculosis is a widespread infectious disease, which in many cases can endanger human life. The main cause of this disease is a bacterium called Mycobacterium tuberculosis, which usually attacks the victim's lungs. The infection caused by this bacterium can also affect other parts of the body and worsen the patient's condition [4]. Tuberculosis is a contagious disease that spreads through coughing, sneezing, saliva and air. Tuberculosis infections are usually asymptomatic, but studies have shown that latent infection becomes active in one in 10 people. Therefore, tuberculosis is divided into two categories worldwide: latent and active [5]. The Manta tuberculin skin test is used to diagnose latent tuberculosis. However, the results of this test may be falsely negative in some people with underlying diseases. Usually, a blood test with x-ray examination may be helpful [6]. An accurate diagnosis of tuberculosis is critical and cannot be made definitively until a clinical specimen such as blood can prove the cause of the tuberculosis (Fig. 1). For this reason, many physicians begin prescribing antibiotics earlier [7].

Fig. 1
figure 1

Tuberculosis cells in human lungs

From studies on the effects of tuberculosis on the blood plasma refractive index (BPRI), the normal BPRI is about 1.351, but in 90% of people with this disease, the BPRI is 1.34 or between 1.34 and 1.35. Therefore, the BPRI of people with tuberculosis is on average about 0.01 lower than healthy people [8]. This critical feature can be used to diagnose this disease. In this study, a fiber optic sensor based on surface plasmons was investigated for different structures and other sensor characteristics, for the case when the BPRI changes from 1.34 to 1.35, are calculated, and the best structure is presented at the end of the paper (Table 1). Then, a method to increase the performance of the best structure is explained, which will be discussed later [8].

Table 1 the refractive index of blood plasma for 44 samples (HB01 -HB44) obtained from [8]

In recent decades, the use of surface plasmon resonance (SPR) has proven to be one of the best methods for fabrication and studying sensors [9]. Free electrons on the surface of metals, known as surface plasmons (SP), can produce a wave called a surface plasmon wave (SPW) that can be excited by the p-polarization of the landing field. (Solving the electromagnetic equations at the metal boundary and studying the boundary conditions show that the surface plasmon wave vector is not excited by the s-polarization.) When the surface plasmon wave vector coincides with the incident wave vector, a phenomenon called resonance occurs. This phenomenon manifests itself in the power transfer spectrum as a sharp dip [10]. One of the most famous and widely used methods for examining sensors is the Kretschmann method [11]. In this approach, a prism is used as a light transmission medium to build a sensor. One side of the prism is covered with metal layers and oxide materials and finally contacted with the sensing medium [12]. Researchers pay lots of attentions to fiber optic after its invention. Features such as cost efficiency, easy portability and simple operation are the advantages of fiber optic sensors. There are various approaches to study the performance of fiber optic sensors [13]. For example, the power transmission spectrum can be recorded in terms of wavelength, angle or phase change. Sensor characteristics such as sensitivity, detection accuracy, figure of merit and etc. can be calculated by examining the power transmission spectrum [14].

Recently, fiber optic sensors based on surface plasmon resonance have shown great potential for various medical and biophysics applications. Abdul Akib et al. designed a graphene-coated SPR biosensor for detection of the novel coronavirus [15]. An SPR based biosensor was investigated for the detection of hemoglobin in blood samples and for cancer cell by Karki et al. [16, 17]. Daher et al. have developed an SPR-based biosensor for the detection of bacteria in water [18].For fabrication, a part of fiber optic cladding is removed and replaced by a layer of metals and oxide materials. The use of single metal layers is perhaps the simplest method for fabricating these sensors [19]. Metals such as silver, gold, and copper, known as noble metals, are the most commonly used materials for sensor fabrication, but they also have drawbacks. For example, these metals are expensive and oxidize in the presence of air. Therefore, testing different structures with different compositions can open a new window for fiber optic sensors fabrication [20]. Recent researches show that the use of more complex structures such as nanocomposites, two-dimensional material layers, or even a combination of them can create better and more ideal results [21].

2 Basic theory

According to the researches, it appears that the BPRI of people with Tuberculosis is on average 0.01 lower than healthy people. (This phenomenon occurs in more than 90% of people.) The results of this study are from [8].

In this study, a fiber optic sensor based on surface plasmon resonance is investigated. The length of the sensor material is 10 mm. The first layer is metal (the thickness is 20 nm), the second layer is dielectric (the thickness is 40 nm), and the third layer is graphene (there are 5 layers). The optical fiber numerical aperture is considered as 0.22 while the core diameter has different values of 300,600 and 940 microns. The optical properties of each layer are listed in Fig. 2. This study investigates the effects of dielectric, metallic materials and fiber core diameter size on sensor characteristics in contact with human blood plasma. Figure 3. shows a general structure of the sensor investigated in this study. Metals such as copper, aluminum, and silver, and oxides such as lanthanum oxide, lutetium oxide, and tantalum pentoxide are considered as the first and the second layers, respectfully. The third layer is consisted of 5 Graphene layers.

Fig. 2
figure 2

The layers electrical permittivity theory map. The first layer is the fiber optic core [22], the second layer is metal [23], the third layer is oxide [24], the fourth layer is consisted of five graphene layers [25], and the last media is the blood plasma [26]

Fig. 3
figure 3

schematic of fiber optic sensor in contact with blood plasma

In this study, the basic parameters of the sensor are investigated for the nine combinations of metals and oxides for three states. The diameter of the fiber optic core is considered as 300, 600 and 940 µm. In this study, the most suitable fiber optic sensor structure for the diagnosis of tuberculosis is presented by investigating the changes in the refractive index of blood plasma.

In this paper the sensor is simulated by using transfer matrix method(TMM) in Wolfram Mathematica software. In this method, a transfer matrix is assigned to each layer and by multiplying the layer matrices, the total transfer matrix is obtained [27].For using this approach, it is important to have accurate information about the properties of each layer through which light passes. This information is listed in theory map in Fig. 2.

The matrix method is used to calculate the p-polarization of the Fresnel reflection coefficient (Rp). The general expression for the normalized transmitted power for a fiber optic SPR sensor is given as follows [28]

$${P}_{trans}=\frac{{\int }_{{\theta }_{c}}^{\frac{\pi }{2}}{R}_{p}^{{N}_{ref}(\theta )}\frac{{n}_{1}^{2}sin\theta cos\theta }{{(1-{n}_{1}^{2}{cos}^{2}\theta )}^{2}}d\theta }{{\int }_{{\theta }_{c}}^{\frac{\pi }{2}}\frac{{n}_{1}^{2}sin\theta cos\theta }{{(1-{n}_{1}^{2}{cos}^{2}\theta )}^{2}}d\theta }$$
(1)

where θ is supposed as the angle of the ray with the normal to the core- cladding interface and θc is the critical angle of the fiber and the refractive index of the fiber core. Nref (θ) indicates the number of light reflections in the fiber, which is defined as [29]

$${N}_{ref}\left(\theta \right)=\frac{L}{D\mathrm{ tan}\theta }$$
(2)

where L and D are the length of the exposed region and the core diameter of the fiber, respectively.

Using Snell's law, the critical angle is given as follows

$${\theta }_{c}={sin}^{-1}(\frac{{n}_{cl}}{{n}_{1}})$$
(3)

where ncl is the refractive index of the fiber cladding [29].

The calculation of the optical transmission power is the key to the measurement of other sensor characteristics. Some important practical sensor properties are defined in Table 2.

Table 2 Definitions of important sensor characteristics [9]

3 Results and Discussion

3.1 Transmitted Output Power

The transmitted output power spectrum for the 9 structures, where the thickness of the optical fiber core is assumed to be 940 µm, is shown in Fig. 4. The wavelength range is considered in the near ultraviolet and visible regions. The spectrum of some structures is broader and some others is sharper. It seems that structures with lower spectral width have higher quality [30]. To prove this claim, the sensor characteristics will be calculated.

Fig. 4
figure 4

The output power spectrum for 9 structures while the fiber core diameter (D) of 940 microns

3.2 Sensitivity

The changes in sensitivity of the fiber optic sensor for the 9 structures are shown in Fig. 5.

Fig. 5
figure 5

Sensitivity comparison of 9 structures while the fiber core diameter (D) is 300,600,940 microns

Figure 5 shows that a sensor whose fiber core diameter is thicker is more sensitive. The reason for this phenomenon can be explained by the fact that by increment of optical fiber core diameter the attenuation wave that penetrates the subsequent layers will enhance, and finally the interaction of the attenuation wave with the surface plasmons and the sensing medium increases. A careful look at Fig. 5. shows that some structures are more sensitive and some are less. The details are shown in Table 3. As mentioned earlier, the fourth layer (graphene) is constant, so any changes in the sensing structure depend on the type of metal and dielectric.

Table 3 the sensor characteristics values for all 9 structures

The high sensitivity of some structures is due to the fact that the real part of the surface plasmon wave vector is stronger. In other words, a metal and dielectric combination with larger real part of the surface plasmon wave vector can interact more strongly with the sensing medium and is therefore more sensitive to slight changes in the refractive index of the sensing medium [31]. Ag-Lu2O3-Gr structure is introduced as the most sensitive structure, while the fiber core diameter is 940 microns.

3.3 Detection Accuracy

Another important characteristic for evaluating of a fiber optic sensor performance is its detection accuracy (DA). In general, this factor is determined by inversing the full width at half maximum (FWHM) [32]. Figure 6 shows that the sensor is more accurate when the fiber optic core is thicker. By increasing the diameter of the fiber optic core, a stronger damping wave is inhibited by surface plasmons, and finally the amplification of the surface plasmon wave vector leads to a sharper resonance in the spectrum and, reducing the FWHM of the transmission power leads to an increase in the detection accuracy of the sensor. This phenomenon is due to the fact that detection accuracy is related to FWHM inversely [32].

Fig. 6
figure 6

Comparison of detection accuracy of 9 structures at fiber core diameters (D) of 300, 600, and 940 µm

As shown in Fig. 6. In some structures DA is larger than others. The details are shown in Table 3. The cause of this phenomenon can be explained by the fact that in some structures the loss or damping effects are less than others (these damping are related to the extinction coefficient or the imaginary part of the dielectric coefficient). Damping factor reduction also causes the spectral width to be small, resulting in high detection accuracy. So, in general, the less the damping, the smaller the spectral bandwidth and consequently the larger the detection accuracy. According to the proposed structures, the highest DA is recorded for Al-Ta2O5-Gr while the fiber core diameter is 940 microns.

3.4 Figure of Merit

Figure 7 shows the changes of figure of merit with different structures while the fiber core has three values of 300, 600 and 940 microns. The thicker the fiber core, the larger the sensor FOM. The details are shown in Table 3. How the FOM changes for different structures is related to two properties: Sensitivity (S) and Detection Accuracy (DA). Since the FOM is obtained by multiplying the sensitivity by the detection accuracy, the sensor that simultaneously has the largest value of DA and S has a higher quality [33]. Based on the proposed structures, Al-Lu2O3-Gr compound has the highest quality, while the fiber core is 940 microns.

Fig. 7
figure 7

FOM comparison of 9 structures at a fiber core diameter (D) of 300, 600, 940 µm

3.5 Method of Improvement

According to the results of the previous section, Al-Lu2O3-Gr compound has been found to be the highest quality. In the continuation of this article, a quality enhancement method is studied. Experiments and studies show that using alloys instead of pure metals leads to the enhancement of surface plasmons and improves the performance of the sensor [34]. In this study, nickel/aluminum, cobalt/aluminum, and silver/aluminum alloys with different proportions were used instead of pure aluminum to investigate the effects of these alloys on the sensor characteristics. The schematic of the fiber optic sensor consisting of an alloy layer is shown in Fig. 8. For numerical simulation the electrical permittivity of the alloy layer is needed which be defined as [35]

$${\varepsilon }_{Alloy}=x{\varepsilon }_{Al}+(1-x){\varepsilon }_{X}$$
(4)

where εAl is the electrical permittivity of Al and εx is the electrical permittivity of Ni, Cu, and Co (guest metals) that are obtained from [24] and also x shows the percentages of the guest metal in alloy [36].

Fig. 8
figure 8

The scheme of the fiber optic sensor consisting of an alloy layer

The results of Al/X alloy-Lu2O3-Gr sensor are discussed in this section. In this structure, Al is the host metal and other metals (X) such as Ni, Co and Cu are considered as the guest metals [37].

3.6 Transmitted Output Power

Figure 9 shows the transmitted output optical power for three alloys with composition ratio of (30:70). The results show that using alloys produces a sharper resonance at longer wavelengths (in the visible range). The sensor characteristics will be discussed in next sections.

Fig. 9
figure 9

Transmitted output power for (x/Al alloy (30:70)-Lu2O3-Gr)

3.7 Sensitivity

Figure 10 shows the sensitivity changes for three structures of Al/Ni alloy-Lu2O3-Gr, Al/Cu alloy-Lu2O3-Gr, and Al/Co alloy-Lu2O3-Gr in which the percentage of guest metals (nickel, cobalt, and copper) is 0.1, 0.3, 0.5, 0.7, and 0.9, respectively. The results show that by increment of guest metal percentage (while decreasing the amount of aluminum (host metal)) the sensitivity of the sensor will increase. Al/Co alloy-Lu2O3-Gr has the highest sensitivity and Al/Cu alloy-Lu2O3-Gr has the lowest sensitivity. The details are shown in Table 4. The results can be physically justified by the fact that guest metals can amplify the surface plasmons, and the amplification of the SP wave can improve the sensor sensitivity. On the other hand, the high sensitivity of Al/Co alloy-Lu2O3-Gr can be attributed to the large part of its dielectric coefficient compared to other alloys. Larger real part of the dielectric coefficient contributes to the amplification of the SP wave which increases the sensitivity of the sensor.

Fig. 10
figure 10

Sensitivity changes with the percentage of the guest metal in the alloy

Table 4 the sensor characteristics for Al/X alloy-Lu2O3-Gr with different percentages

3.8 Detection Accuracy

Figure 11 shows DA changes with the percentage of guest metals in alloy. DA has the highest value where the percentage of the guest metal is 30% and then decreases as the percentage of the guest metal increases (decrease in the host metal (aluminum)). The details are shown in Table 4. The reason is related to the imaginary part of the dielectric coefficient of metals [38]. The cause of this phenomenon is the high value of the real part of the dielectric coefficient of the alloy and the small value of its imaginary part. In other words, the larger the value of the real part of the dielectric coefficient, the stronger the SP wave, the sharper the spectrum, the smaller the spectral width and, finally, the larger the DA.

Fig. 11
figure 11

Detection accuracy changes with the percentage of the guest metal in the alloy

3.9 Figure of Merit

As mentioned in the previous section, FOM is the result of multiplying the sensitivity by the detection accuracy, is one of the most important sensor characteristics [39]. Figure 12 shows the FOM with the percentage of guest metals in the alloy. The details are shown in Table 4. The highest value of FOM is for Al/Cu alloy (70:30)-Lu2O3-Gr. These observations can also be justified by the high sensitivity and detection accuracy of this structure.

Fig. 12
figure 12

The figure of merit changes with the percentage of the guest metal in the alloy

According to the final results, Al/Cu alloy (70:30) -Lu2O3-Gr structure, on fiber optic with 0.22 numerical aperture and 940µ core diameter, shows the highest quality. Al/Cu alloy is widely used in the industry. It can be manufactured by different methods such as additive manufacturing, nanostructure designing, etc. In additive manufacturing (AM) technique, a structure can be created by depositing successive layers. This procedure has been considered an alternative, economic process for producing metallic components due to its high potential advantages of time and cost saving [36]. In the nanostructure designing method, the materials are changed into nanoparticles and then combined with different percentages [40]. Lu2O3 is a rare earth material that is wildly applied in ceramics, glass, phosphorous and lasers [41]. This is a white powder with high thermal conductivity. So, Lu2O3 can be formed as thin film by thermal deposition [42]. Graphene is a single two-dimensional layer of carbon atoms bound in a hexagonal lattice structure [43]. Graphene has many applications such as anti-corrosion coatings and paints, efficient and precise sensors, faster and efficient electronics, efficient solar panels, drug delivery, etc.[44]. One of the best solutions to graphene device fabrication is the chemical vapor deposited (CVD) method [45]. Fiber optics with 0.22 numerical aperture and 940 µm core diameter are fabricated by many companies. As mentioned above, all components of this structure (Al/Cu alloy, Lu2O3 and Graphene) are available and can be formed as thin films to deposit on the fiber optic by regular and affordable methods. Based on Al/Cu alloy (70:30) -Lu2O3-Gr potential for detecting Tuberculosis and easy fabrication, it can be considered a feasible practical project.

4 Conclusion

In this work, a fiber optic sensor based on surface plasmon resonance for diagnosis of tuberculosis due to changes in the refractive index of blood plasma was simulated numerically by TMM method using Wolfram Mathematica software. Sensor characteristics such as sensitivity, detection accuracy, and figure of merit were also studied. The calculations were done in two stages. In the first part, an optical fiber sensor consisting of metal/oxide/graphene layers was simulated, while the fiber core diameter was 300, 600, and 940 microns. Al-Lu2O3-Gr while the optical fiber core diameter is 940 µm is introduced as the winning structure. In general, when the real part of the dielectric coefficient is larger, the surface plasmon wave vector becomes stronger and therefore the structure is more sensitive to slight changes in the refractive index of the sensing medium (blood plasma). In addition, the small imaginary part of the dielectric coefficient leads to a reduction in losses and a smaller spectral width, increasing the detection accuracy of the sensor. In fact, a sensor that simultaneously has higher detection accuracy and sensitivity is the most suitable. In the second part of this paper, the effect of using Al/Ni, Al/Cu, and Al/Co alloys instead of pure Al is investigated for different percentages to enhance the surface plasmon wave. Al/Cu alloy (70:30) -Lu2O3-Gr reaches the highest quality. In fact, the most important factor to achieve a desirable sensor is to use appropriate materials to produce a stronger plasmon wave and less losses.