Introduction

In recent decades, cancer research has gained significant attention due to the disease’s severity and treatment challenges. Cancer occurs when healthy cells undergo changes that lead to the formation of cancerous cells. Biosensors enable quick cancer diagnosis by detecting specific chemicals in biological samples. They identify molecules like antibodies or enzymes, allowing for early detection of cancer cells, which is crucial for improving treatment outcomes1,2,3. Biosensors are categorized into three primary types based on their bio-transducer; Acoustic, Optical, and Thermal biosensors. In 1962, Clark and Lyons pioneered the optical sensing system, leading to various applications for optical sensors. Sensors convert biological data into optical signals by tracking light property changes when interacting with substances. Many optical sensors depend on spectral features, such as a distinct peak or slope, arising from resonance. Variations in the refractive index (RI) lead to intensity or wavelength shifts, which are used to monitor changes in the analyte’s RI4,5.

Optical biosensors can be classified on two criteria; Label and Label-free. Detection usually requires labels like enzymes or fluorescent markers that bind to the target analyte. The measurement signal depends on the amounts of target analytes and labels. Various labeling techniques include electrochemically active probes, chemiluminescence, and fluorescent labeling. However, this process can be costly, time-consuming, and may interfere with receptor-analyte interactions6. An alternative diagnostic method that is highly recommended is label-free detection. This technique eliminates labels and encompasses methods such as localized surface plasmon resonance (LSPR), mass spectrometry, microcantilevers, and surface plasmon resonance (SPR). These techniques detect analytes based on intrinsic physical characteristics like charge, dielectric constant, refractive index changes, and size. Sensors that use SPR allow for quick and accurate detection of various analytes, are resistant to electromagnetic interference, and are ideal for remote monitoring and real-time analysis6,7,8. SPR-based biosensors and photonic crystal fibers (PCFs) are being explored due to their unique cladding region, which features numerous small holes that manipulate light propagation in the core. PCFs utilize photonic band gap and total internal reflection (TIR) principles, making them robust, compact, and cost-effective. By adjusting the size and arrangement of these holes, a variety of designs can be created to meet specific needs9.

Biosensors can be categorized by fiber geometry into circular, D-shaped, slotted, and bowl-shaped designs. Also, incorporating microchannels in D-shaped structures can enhance performance. These sensors detect gases and a variety of analytes, including cancer, DNA, glucose, blood components, proteins, and malaria10,11,12,13,14. The traditional techniques for cancer diagnostics consist of magnetic resonance imaging, ultrasound, positron emission tomography (PET scans), or mammography15. Currently, surface plasmon sensors are preferred over traditional optical biosensor techniques due to their superior sensitivity. They also offer additional benefits, such as ease of use and the ability to operate without requiring expert knowledge. Furthermore, surface plasmon sensors are capable of detecting cancer in its early stages, with an average cost of approximately USD ~ 6,000 16. In contrast, the colorimetric method is a more affordable option, averaging around USD ~ 800. However, this method is prone to significant errors, necessitates expert handling, and is only effective for detecting cancer in its later stages17. Similarly, optical coherence tomography requires a specialist for late-stage cancer diagnosis and has the highest average cost, around USD ~ 7,164 18. Plasmonic materials in PCF-based SPR biosensors can be used internally and externally. Internally structured sensors offer high sensitivity due to direct light-analyte interaction, but challenges include achieving uniform plasmonic coatings in small air holes and usability issues from liquid penetration. Externally structured PCF sensors, on the other hand, detect analytes at the surface, where ligands bind to sample molecules. This results in changes in RI, which correlate linearly with wavelength, producing a Gaussian-shaped confinement loss curve for sensitivity assessment in both wavelength and amplitude measurements15,19,20.

In 2020 Anik et al.21 reported a milled microchannel and open D-channel PCF SPR biosensor placed at the bottom and top, using Au/TiO2 as a plasmonic layer. Above the microchannel and below the D-channel, air holes with diameters da1  =  1.27 μm and da2  =  1.20 μm are positioned to create a stable core mode. Also, we can see da3  =  1.65 μm and da4  =  2.2 μm in the inner and outer rows of a square lattice. The best thickness of 80 nm and 9 nm is found for gold and Tio2 respectively. The height of the U-shaped groove and D-channel radius are 4.83 μm and 2.40 μm. The detection range is between 1.14 and 1.36, with a peak sensitivity of 53,800 nm/RIU.

In 2023, Yang et al.22 developed a biosensor using photonic crystal fiber with double gold nanowires (d3  =  0.8 μm diameter) and a circular lattice design featuring holes of d1  =  1.8 μm diameter. Small air holes (d2  =  1.4 μm) near the nanowires help leak core energy to the plasmonic material. This design shows promising results for MCF-7 cells, featuring a spectral sensitivity of 16,357 nm/RIU and amplitude sensitivity (AS) of -1,242 RIU− 1.

This year, Abdelghaffar et al.23. reported a V-shaped photonic crystal biosensor that utilizes plasmonic materials for the early detection of cervical, basal, and breast cancer cells. This biosensor features a hexagonal lattice with air holes that have a radius of 2.35 μm, spaced at a distance of 6.73 μm. The plasmonic material used is zirconium nitride (ZrN) with a thickness of 30 nm. The structure demonstrates impressive sensitivity in the TM mode, with values of 5,008.33, 3,800, and 6,214.28 nm/RIU, and in the TE mode, with values of 5,333.3, 4,400, and 6,000 nm/RIU.

Also, Ibrahimi et al.24. introduced a twin-core PCF SPR biosensor that utilizes a TiO2/Au with thicknesses of tt = 12 nm and tg = 25 nm as the plasmonic layer. Additionally, the geometric parameters were established as ta = 1.3 μm, p  =  1.8 μm, d1  =  380 nm, d2  =  0.75 μm, and d3  =  1.5 μm. This biosensor exhibits a strong response to six varieties of cancerous cells, demonstrating a sensitivity of 4,078.43 nm/RIU, an amplitude sensitivity of − 4,285.71 RIU− 1, and a resolution of 4 × 10− 5 RIU for HeLa, MCF-7, and basal cells, respectively.

Our proposed D-shaped SPR-based PCF biosensor features a microchannel along its flat side, which improves performance and aids in light coupling by positioning the analyte nearer to the core. Gold (Au) coating is applied to the microchannel part of this device, while titanium dioxide (TiO2) is utilized beneath it. Unlike methods that involve coating the entire fiber with plasmonic materials, this approach minimizes both the coating area and the complexity of polishing, resulting in lower costs. We have extensively optimized and analyzed the structural parameters, such as the hole diameters, the radius of the microchannel, the pitch, and the thicknesses of the Au and TiO2 layers.

SPR-based PCF biosensor compositions

Design geometry of the suggested biosensor

The suggested biosensor underwent a detailed analysis employing the finite element method (FEM) with perfectly matched layers (PML) via COMSOL Multiphysics 6.2 software, ensuring precision and reliability in its performance evaluation. This design focuses on reducing the distance between the center of the structure and the plasmonic material, facilitating efficient signal and energy transfer from the core to the designated microchannel. This transition enhances the oscillation of electrons in the gold and TiO2 region, generating a surface plasmon wave (SPW). Surface plasmon polarization occurs when the frequency of light incident from the core matches the frequency of the oscillating electrons. When this happens, at a specific wavelength and desired refractive index, the core-guided mode aligns with the surface plasmon polariton (SPP) mode, allowing maximum energy to be transferred to the free electrons8.

This structure utilizes three distinct hole sizes designated as d1, d2, and d3, with their effects and performance discussed later. The thickness of the Au and TiO2 layers is denoted by tau and tt. Additionally, the radius of the open channel located at the top of the structure will be referred to as r. The pitch, or Λ, is the space between the center of two adjacent holes in a square lattice, denoted as P in this study. The sensor structure has undergone multiple simulations to optimize various parameters, during which the remaining parameters were held constant. After optimization, the parameter values are P  =  3.6 μm, r  =  2.75 μm, d1  =  1.75 μm, d2  =  3.2 μm, d3  =  1.3 μm, tau = 40 nm and tt = 10 nm. To create the D-shaped design, the PCF fiber is polished from a distance of h  =  1.5 × P µm from the core.

Figure 1a shows a cross-sectional view of the open D-channel biosensor. It reveals that the structure consists of three main parts. The first part is silica, which forms the internal component and features 16 circular air holes arranged in a square lattice. The two other sections of the proposed biosensor include a metallic plasmonic layer and an analyte channel. Commonly used plasmonic materials in biosensors include gold, silver, aluminum, and copper. To enhance sensor performance, materials such as graphene, zinc oxide, and MoS2 are also employed, with Au being preferred due to its chemical stability19,25. Additionally, gold offers advantages over silver and other plasmonic materials due to its notable variations in resonance wavelengths. Silver, for example, is highly susceptible to rapid oxidation, which reduces its sensitivity and creates challenges for long-term use. In contrast, gold demonstrates greater stability and biocompatibility, along with a wider plasmon resonance bandwidth. These attributes make gold more suitable for biosensor applications, as it allows for greater flexibility in design and optimization24,26. While gold is not completely immune to oxidation, it surpasses the previously mentioned plasmonic materials, and several strategies have been suggested to reduce the impact of oxidation on sensor performance. These strategies include utilizing high-quality gold, applying protective coatings, employing appropriate storage techniques, and minimizing exposure to oxygen or water27. Therefore, the gold layer is integrated into the microchannel section of this structure. A thin layer of titanium dioxide bonds Au to silica, enhancing plasmon-analyte interaction and solving positioning and fabrication challenges. Placing the microchannel within the D-shaped section of the biosensor minimizes the amount of plasmonic material needed, streamlining the manufacturing process and improving performance. The outer part of the proposed structure features an analyte channel and a PML layer, measuring 3.5 × P µm and 0.8 × P µm in thickness, respectively. The PML is designed to mitigate undesired non-physical emissions at the surface. This sensor is designed using the commonly employed stack and draw method. Figure 1b illustrates a 2D stacking diagram of the sensor, which includes solid, thin-walled, and thick-walled capillaries.

Fig. 1
figure 1

Cross-sectional view of (a) proposed microchannel-based D-shaped biosensor, and (b) the stacked structure of the proposed PCF with solid, thick-walled, and thin-walled capillaries.

Figure 2 presents a schematic representation of the suggested biosensor that employs surface plasmon resonance. This configuration indicates that the optical fiber connects to a broadband source (BBS), enabling the photonic crystal fiber to receive broad-spectrum light. The SPR effect arises from light transmission through the fiber and alterations in the refractive index near the sensor’s surface, which makes the sensor extremely responsive to changes. The fiber connects to an optical spectrum analyzer (OSA) and a laptop for data collection, allowing real-time monitoring of the interference spectrum. The biosensor features a chamber designed for the introduction and extraction of liquid tissue samples suspected of containing cancerous cells. Additionally, a pressure pump is utilized to circulate the fluid through the system. After each testing session, deionized water can be used to clean the area, thereby preparing the sensor for subsequent tests with new samples. The samples being analyzed are obtained through liquid biopsy from tumors13,28,29.

Fig. 2
figure 2

Schematic of the proposed microchannel-based D-shaped sensor setup featuring a broadband source, optical spectrum analyzer, and a laptop for analyte detection.

Conceptual analysis

The proposed biosensor is constructed using materials such as Au, TiO2, and fused silica. Silica has been selected as the substrate material because of its outstanding mechanical durability and minimal absorption loss. The Sellmeier equation describes how the refractive index of silica changes with wavelength, denoted by n30,

$$\:{n}^{2}\left(\lambda\:\right) = \frac{{B}_{1}{\lambda\:}^{2}}{{\lambda\:}^{2}-{C}_{1}}+\frac{{B}_{2}{\lambda\:}^{2}}{{\lambda\:}^{2}-{C}_{2}}+\frac{{B}_{3}{\lambda\:}^{2}}{{\lambda\:}^{2}-{C}_{3}}$$
(1)

The Sellmeier constants are defined as B1  =  0.69616300, B2  =  0.407942600, B3  =  0.897479400, C1  =  0.00467914826, C2  =  0.0135120631, C3  =  97.9340025, with λ denoting the wavelength.

The first plasmonic material defined is gold, and one method to coat microchannels with plasmonic materials is by using the chemical vapor deposition (CVD) process31. The dependence of dielectric constants on wavelength is known from the Drude-Lorentz model32:

$$\:{\varepsilon\:}_{\text{A}\text{u}} = {\varepsilon\:}_{\infty\:}-\frac{{\omega\:}_{D}^{2}}{\omega\:\left(\omega\:+j{\gamma\:}_{D}\right)}-\frac{\varDelta\:\varepsilon\:{\varOmega\:}_{L}^{2}}{\left({\omega\:}^{2}-{\varOmega\:}_{L}^{2}\right)-j{\varGamma\:}_{L}\omega\:}$$
(2)

where \(\:{\varepsilon\:}_{\text{A}\text{u}}\) is the permittivity of gold, \(\:{\varepsilon\:}_{\infty\:}\) = 5.9673 is its permittivity at elevated frequencies. Additionally, \(\:\omega\:\) = 2πc/λ represents the angular frequency where c is the speed of light in a vacuum. The plasma frequency is indicated by \(\:{\omega\:}_{D}^{}\) = 4,227.2π THz, while the damping frequency is represented by \(\:{\gamma\:}_{D}\) = 31.84π THz. We also have a weighting factor denoted by\(\:\:\varDelta\:\varepsilon\:\) = 1.09. Furthermore, \(\:{\varGamma\:}_{L}\) = 209.72π THz represents the spectral width of the Lorentz oscillator and, \(\:{\varOmega\:}_{L}^{}\) = 1,300.14π THz indicates the oscillator’s strength.

The function \(\:{\varepsilon\:}_{\text{A}\text{u}}\left(\omega\:\right)\:\)is expressed as \(\:{\varepsilon\:}_{\text{A}\text{u}}\left(\omega\:\right)\: = {\varepsilon\:}_{1}\left(\omega\:\right)\:+j{\varepsilon\:}_{2}\left(\omega\:\right)\), linking to angular frequency. The complex refractive index of the medium, \({\tilde{\text n}}\left(\omega\:\right) = n\left(\omega\:\right)+jk\left(\omega\:\right)\), represents the square root of \(\:\varepsilon\:\). This, along with reflectivity studies at optical frequencies, aids in measuring \(\:\varepsilon\:\).

$$\:{\varepsilon\:}_{\text{A}\text{u}} = {\varepsilon\:}_{1}+j{\varepsilon\:}_{2}$$
(3)
$$\:{\varepsilon\:}_{1} = \text{R}\text{e}\left({\varepsilon\:}_{\text{A}\text{u}}\right)$$
(4)
$$\:{\varepsilon\:}_{2} = \text{I}\text{m}\left({\varepsilon\:}_{\text{A}\text{u}}\right)$$
(5)
$$\:{\varepsilon\:}_{1} = {n}_{\text{A}\text{u}}^{2}-{k}^{2}$$
(6)
$$\:{\varepsilon\:}_{2} = 2{n}_{\text{A}\text{u}}k$$
(7)
$$\:{n}_{\text{A}\text{u}} = \sqrt{\frac{{\varepsilon\:}_{1}}{2}+\frac{1}{2}\sqrt{\left({\varepsilon\:}_{1}^{2}+{\varepsilon\:}_{2}^{2}\right)}}$$
(8)
$$\:{k}_{\text{A}\text{u}} = \frac{{\varepsilon\:}_{2}}{2{n}_{Au}}$$
(9)

The extinction coefficient, denoted as k, defines the extent of optical absorption experienced by electromagnetic waves as they interact with various materials33.

TiO2 is selected due to its elevated refractive index compared to the fiber, which improves the interaction between the core and the plasmonic mode. It also efficiently absorbs the field from the core mode. Furthermore, this material is safe for the environment and non-toxic34. The RI profile of TiO2 can be evaluated from35:

$$\:{n}_{{\text{T}\text{i}\text{O}}_{2}}\left(\lambda\:\:\right) = \sqrt{5.913+\frac{2.441\times\:{10}^{7}}{{\lambda\:}^{2}-0.803\times\:{10}^{7}}}$$
(10)

where \(\:{n}_{{\text{T}\text{i}\text{O}}_{2}}\) denotes the refractive index of TiO2.

To assess the sensing capability, confinement loss (CL) serves as an important introductory factor, which can be articulated using36:

$$\:\alpha\:\left[\frac{\text{d}\text{B}}{\text{c}\text{m}}\right] = 8.686\times\:{k}_{0}\times\:\text{I}\text{m}\left[{n}_{eff}\right]\times\:{10}^{4}$$
(11)

\(\:{k}_{0} = 2{\uppi\:}/{\uplambda\:}\:\)represents the wave vector in free space, while \(\:\text{I}\text{m}\left[{n}_{eff}\right]\:\)denotes the imaginary component of the effective refractive index.

Spectral sensitivity, also referred to as wavelength sensitivity (WS), is a crucial factor in assessing how effective PCF-SPR biosensors are, which can be determined by22:

$$\:{S}_{\lambda\:}\left[\frac{\text{n}\text{m}}{\text{R}\text{I}\text{U}}\right] = \frac{{{\Delta\:}\lambda\:}_{peak}}{{{\Delta\:}n}_{a}}$$
(12)

In cancer cells, \(\:{{\Delta\:}\lambda\:}_{peak}\:\)and \(\:{{\Delta\:}n}_{a\:}\)represent the differences in wavelengths associated with the peak loss and the changes in the refractive index between healthy and affected cells for each type of cancer.

An additional key technique is the amplitude interrogation method, which is established by mapping the sensor power loss spectrum that corresponds to the refractive index of the analyte at a particular wavelength and can be defined as29:

$$\:{S}_{A}\left(\lambda\:\right)\left[{\text{R}\text{I}\text{U}}^{-1}\right] = -\frac{1}{\alpha\:\left(\lambda\:,{n}_{a}\right)}\frac{{\updelta\:}\alpha\:\left(\lambda\:,{n}_{a}\right)}{{\updelta\:}{n}_{a}}$$
(13)

\(\:\alpha\:\left(\lambda\:,{n}_{a}\right)\:\)represents the CL of the fundamental core mode at a specific wavelength, while \(\:{\updelta\:}\alpha\:\left(\lambda\:,{n}_{a}\right)\:\)signifies the variation between two adjacent spectral losses.

The resolution of the suggested biosensor is assessed by37:

$$\:R\left[\text{R}\text{I}\text{U}\right] = \frac{{{\Delta\:}n}_{a}\times\:{{\Delta\:}\lambda\:}_{min}}{{{\Delta\:}\lambda\:}_{peak}}$$
(14)

where \(\:{{\Delta\:}\lambda\:}_{min} = 0.1\:\text{n}\text{m}\) represents the minimum spectral resolution; \(\:{{\Delta\:}\lambda\:}_{peak\:\:}\)signifies the change in the resonant wavelength, while \(\:{{\Delta\:}n}_{a}\:\)indicates the modification in the cells’ refractive index.

One important parameter that enhances sensor performance is the figure of merit (FOM)12,38:

$$\:\text{F}\text{O}\text{M}\left[{\text{R}\text{I}\text{U}}^{-1}\right] = \frac{{S}_{\lambda\:}}{\text{F}\text{W}\text{H}\text{M}\left(\text{n}\text{m}\right)}$$
(15)

FWHM refers to the full width at half maximum and quantifies the width of the confinement loss peak. A narrower FWHM may lead to a decrease in spectral noise.

Signal-to-noise ratio (SNR) indicates the strength of the resonance peak compared to the background noise and can be evaluated from38:

$$\:\text{S}\text{N}\text{R}\left[\text{d}\text{B}\right] = \frac{{{\Delta\:}\lambda\:}_{peak}}{\text{F}\text{W}\text{H}\text{M}\left(\text{n}\text{m}\right)}$$
(16)

The minimum quantity of a biological item that can be detected by the sensor is referred to as the detection limit, which can be expressed in terms of FWHM and SNR30:

$$\:\text{D}\text{L}\left[\text{n}\text{m}\right] = \frac{\text{F}\text{W}\text{H}\text{M}\left(\text{n}\text{m}\right)}{1.5{\left(\text{S}\text{N}\text{R}\right)}^{0.25}}$$
(17)

Feasibility of fabricating the proposed PCF biosensor

This section explores the feasibility of fabricating Photonic Crystal Fibers, with an emphasis on the practicality of producing a specific fiber structure. Given the numerous advantages of PCF over conventional fibers, various techniques are employed to manufacture the proposed sensor, including sol-gel processing, stack-and-draw methods, and die-casting30. In Fig. 3, the fabrication steps for the microchannel-based D-shaped biosensor are illustrated. The stack and draw technique provides a scalable and adaptable method for fabricating photonic crystal fibers, enabling complex structures such as square, circular, and triangular lattices. The process of fabricating a PCF rod preform involves using distinct silica capillaries of varying thickness along with a solid silica rod. These capillaries and rods are organized and arranged based on the intended sensor lattice design. After the stacking process, the preform is drawn down to a rod scale, enabling careful regulation of the temperature and the drawing speed to create fibers with specific dimensions. Following the stacking, one section of the circular PCF can be etched to transform it into a D-shaped PCF30,39. A microchannel can be created in the etched region using focused ion beam milling or femtosecond laser micromachining, with chemical etching also used to speed up the process in photonic crystal fiber40,41,42. The design of the D-shaped photonic crystal fiber enables easy filling of the sensing area with analyte. During the fabrication process, careful consideration of layer deposition is crucial to avoid air bubbles and to maintain a consistent distribution of metallic layers. An uneven distribution can cause scattering, which can undermine the effective confinement of optical signals and may diminish sensor performance43. According to recent reports, atomic layer deposition (ALD) is used to apply plasmonic materials to the microchannel Sect44. Also, the chemical vapor deposition technique can be applied to surfaces with different geometries to produce high-quality, oriented thin films that resist solvent damage and offer consistent thicknesses of low-porosity coatings45.

Fig. 3
figure 3

Illustration of the possible fabrication scheme for the proposed biosensor.

Result and numerical analysis

The biosensor’s performance relies on the coupling of the core mode with the surface plasmon polariton mode. In this design, the x-polarized mode is utilized to assess sensor efficiency. The objective of developing a biosensor for cancer diagnosis is to examine the differences in refractive indices between normal and cancer cells. This study analyzed six types of cancer cells, including cervical, skin, blood, adrenal gland (A-G), and two types of breast cancer. Table 1 lists the refractive indices for normal and cancer cells across these six types of cancer.

Fig. 4
figure 4

Dispersion of fundamental mode (red line), SPP mode (black line), the loss spectrum of x-mode (green line), and y-mode (yellow line) that the parameters are fixed in na = 1.368, d1  =  1.8 μm, d2  =  3.2 μm, d3  =  1.3 μm, r  =  2.7 μm, P  =  3.5 μm, tau = 40 nm, and tt = 10 nm.

Figure 4 shows the dispersion and CL for the x and y-polarized modes, along with the surface plasmon polariton mode of the biosensor, with the refractive index set at na = 1.368. The parameters are fixed at P  =  3.5 μm, r  =  2.7 μm, d1  =  1.8 μm, d2  =  3.2 μm, d3  =  1.3 μm, tau = 40 nm, and tt = 10 nm. The yellow color indicates the losses associated with the y-polarized mode, which will not be discussed further due to its low peak value. The green curve represents the CL of the fundamental x-polarized mode, ranging from 600 to 750 nm. In contrast, the red and black curves illustrate the real part of the effective refractive index for the x-polarized mode and the surface plasmon polariton mode, respectively. The CL of the green curve peaks at 649 nm, where the effective refractive index of this mode aligns with the real part of the SPP mode. This wavelength is known as the resonant wavelength, indicating the phase-matching point of the effective refractive index. The interaction between the fundamental mode and the surface plasmon polariton mode significantly impacts sensor performance. Figure 5 shows the electric field distribution of both modes at the resonant wavelength. The electric field is concentrated near the channel and core, indicating the coupling between the core and SPP mode.

Changes in the sensor’s structural parameters significantly affect its performance. We explored seven key parameters, detailed in Table 2 and shown in Figs. 6, 7, 8, 9, 10, 11 and 12.

Fig. 5
figure 5

The field distribution of a fundamental x-polarization mode and b the SPP mode.

Fig. 6
figure 6

Changes of (a) confinement loss spectrum for varying d1 and (b) amplitude sensitivity curves for varying d1 with RI value between 1.368 and 1.392.

Table 1 The refractive index variation for normal cells and cancerous cells22.

Effect of air hole radius on biosensor performance

The geometrical parameters are examined to enhance the sensor’s sensitivity to detecting cervical cancer. Three different sizes of air hole radii (d) are simulated. The first analysis focuses on the cladding air hole (d1), as shown in Fig. 6. The refractive indices of healthy and cancer cells in the experiment are 1.368 and 1.392, respectively. Table 2 indicates that changing d1 has minimal impact on the resonance wavelength in this cancer type, as the x-polarized mode is strongly confined in the core region. The amplitude sensitivity ranges from − 1121.1 RIU− 1 to -1142 RIU− 1. Based on Fig. 6b; Table 2, the biosensor’s amplitude sensitivity peaks at d1  =  1.75 μm, which will be applied in subsequent studies.

Table 2 Optimized parameters for detecting cervical cancer cells.

The largest air hole is located at the bottom of the core. This hole, referred to as d2, enables energy transfer from the center of the structure to the microchannel. Figure 7a illustrates that the air hole comes in four sizes, ranging from 3.1 μm to 3.4 μm, with steps of 0.1 μm. Furthermore, Fig. 7b; Table 2 show that the AS ranges from − 1026 RIU− 1 to − 1142 RIU− 1, with the highest sensitivity noted at d2  =  3.2 μm.

Fig. 7
figure 7

Changes of (a) confinement loss for varying d2 and (b) amplitude sensitivity values for varying d2 with RI value between 1.368 and 1.392.

The two holes adjacent to the microchannel, denoted as d3, are smaller than the previously mentioned holes. This size reduction facilitates the core’s leakage into the plasmonic material. The effect of hole size ranging from 1.2 μm to 1.4 μm, with an increment of 0.1 μm, has been examined while keeping other parameters constant. Figure 8a shows how varying air hole sizes impact confinement loss. The amplitude sensitivity values, as indicated in Fig. 8b; Table 2, are − 1,069.6 RIU− 1, − 1,142 RIU− 1, and − 1,111.7 RIU− 1. For this study, d3 is set at 1.3 μm.

Fig. 8
figure 8

Changes of a confinement loss for varying d3 and b amplitude sensitivity curves for varying d3 with RI value between 1.368 and 1.392.

Impact of pitch and open‑channel on biosensor performance

The effect of pitch size is analyzed in Fig. 9, illustrating the loss spectra and amplitude sensitivity. As the parameter P increases from 3.5 μm to 3.6 μm, the resonance peak at na = 1.392 shows a slight blueshift, changing the wavelength from 731 nm to 729 nm. Additionally, the amplitude sensitivity changes from − 1142 RIU− 1 to -1431.7 RIU− 1, as illustrated in Fig. 9b. This change is caused by the confinement of light in the central area. Figure 9a; Table 2 illustrate that variations in hole pitch have a minimal effect on the resonance wavelength, and the highest amplitude sensitivity is observed at P  =  3.6 μm, which will be used in further studies.

Figure 10a demonstrates the impact of changing the open-channel radius. The microchannel diameter increases from 2.7 μm to 2.8 μm in 0.05 μm increments. At r  =  2.75 μm, the confined loss in the HeLa cell rises significantly from 343.7 dB/cm to 849.8 dB/cm. According to Fig. 10b, amplitude sensitivity varies slightly with changes in the value of r. Specifically, the amplitude sensitivity values at 2.7, 2.75, and 2.8 μm are − 1431.7, -1481.1, and − 1350.5 RIU− 1, respectively.

Fig. 9
figure 9

Variations in a confinement loss and b amplitude sensitivity based on pitch adjustments with RI value between 1.368 and 1.392.

Fig. 10
figure 10

Changes of a confinement loss for varying r and b amplitude sensitivity curves for varying r with RI value between 1.368 and 1.392.

Impact of plasmonic material thickness on the performance

The plasmonic material is essential for surface plasmon excitation, as it couples the core and surface plasmon modes. This necessitates an investigation into the effects of the thicknesses of the Au and TiO2 layers. As shown in Table 2; Fig. 11a, tau increases from 35 nm to 45 nm in the context of cervical cancer, with the following parameters held constant: d1  =  1.75 μm, d2  =  3.2 μm, d3  =  1.3 μm, P  =  3.6 μm, r  =  2.75 μm, and tt = 10 nm. Additionally, the peak of the CL experiences a redshift, moving from wavelengths of 635, 649, and 660 nm to 715, 733, and 743 nm. The biosensor experiences a maximum CL of about 849.8 dB/cm at tau of 40 nm with refractive indices of 1.392, leading to a peak amplitude sensitivity of − 1481.1 RIU− 1. Selecting the appropriate thickness of these materials is crucial, as it impacts the decay rate of both SPR and evanescent waves. Additionally, increasing the thickness beyond 40 nm can complicate the fabrication process46.

Fig. 11
figure 11

Variation of (a) curve of confinement loss and (b) amplitude sensitivity with RI of na = 1.368 and 1.392 for different values of Au thicknesses.

Fig. 12
figure 12

Variation of (a) curve of confinement loss and (b) amplitude sensitivity with RI of na = 1.368 and 1.392 for different values of TiO2 thicknesses.

The confinement loss of titanium dioxide as a function of wavelength is illustrated in Fig. 12a. The investigated thicknesses were 8 nm, 10 nm, and 12 nm. At 10 nm, the titanium dioxide coating exhibited a confinement loss of 849.8 dB/cm for a refractive index of 1.392 at λ  =  733 nm, which was higher than at 8 nm. Figure 12b shows the amplitude sensitivity curves with values of − 1,162.4, − 1,481.1, and − 1,291.7 RIU− 1 for thicknesses of 8, 10, and 12 nm, respectively.

Detection of cancer cells

Using the refractive indices in Table 1 and the suggested biosensor, the visuals in this section demonstrate the optical characteristics at various wavelengths for healthy and diseased biological samples across six types of cancer cells. Figure 13a–f depict the confinement loss of the open D-channel PCF-SPR biosensor, emphasizing key performance outcomes in the detection of Basal, HeLa, Jurkat, and PC12 cells, as well as two types of breast cancer (MDA-MB-231 and MCF-7).

According to Fig. 13, altering the refractive index of a healthy cell and transforming it into a cancerous cell impacts the coupling of the incident light wave to the surface plasmon wave. This change leads to the detection and identification of cancer and a shift in the resonance wavelength, resulting in a redshift. One of the most common methods for evaluating sensor performance is through spectral sensitivity. This concept can be explained using Eq. (12), which analyzes the changes in wavelengths related to the loss peak and variations in the refractive index. Furthermore, sensor performance can be assessed through the amplitude sensitivity at a specific wavelength, which is determined using Eq. (13). While wavelength sensitivity, or wavelength interrogation techniques, requires spectral manipulation and can be costly and complex to implement, amplitude interrogation is more commonly used due to its cost-effectiveness and simpler application. Spectral and amplitude sensitivity values were obtained from various cancer cell types, including 2,600, 3,500, 3,571.42, 4,214.28, 4,785.71, and 5,214.28 nm/RIU, as well as − 705.49, − 1,481.09, − 1,057.73, − 1,022.64, − 974.16, and − 933.23 RIU− 1 for Basal, HeLa, Jurkat, PC12, MDA-MB-231, and MCF-7 cells. According to Fig. 14; Table 3, which compare the performance of the six cell types, the sensor outperforms the other cells in amplitude sensitivity, FOM, resolution, and full width at half maximum with results of -1,481.09 RIU− 1, 350 RIU− 1, 1.19 × 10− 5 RIU, and 10 nm. Also, there is an inverse relationship between SNR and FWHM, as described in Eq. (16); an optimal SNR is achieved when FWHM is minimized. As a result, the highest recorded SNR value was 7 for HeLa cells. The proposed biosensor has a minimum detection limit of 3.92 and a maximum of 16.01. The proposed D-channel biosensor demonstrates exceptional sensitivity, FOM, resolution, SNR, and DL, indicating that this sensor provides high sensing performance and is easily manufactured.

Fig. 13
figure 13

Results related to the detection of skin, cervical, blood, adrenal gland, and two types of breast cancer (MDA-MB-231 and MCF-7) using the proposed biosensor.

Fig. 14
figure 14

Amplitude sensitivity for six types of cancer cells: Basal, HeLa, Jurkat, PC12, MDA-MB-231, and MCF-7.

Fig. 15
figure 15

Fitting polynomials to the resonance wavelengths in response to changes in refractive index for both normal and cancerous cells.

Figure 15 illustrates the polynomial fit of the refractive index for normal and cancer cells, which varies from 1.36 to 1.401. The graph demonstrates that as the refractive index increases, resonance occurs at longer wavelengths. The sensor’s linear response is evaluated using the R-squared (R²) value, with a higher R² indicating a better linear correlation. In our proposed biosensor, the R2 value is calculated to be 0.9997, suggesting that the biosensor demonstrates a strong and consistent response in the early detection of cancer.

Table 3 Evaluation of the Sensor’s performance at optimal design parameters for identifying various cancer cell types.

Table 4 highlights the similarities between previous SPR-based cancer detection studies and our design, indicating that our sensor offers notable advantages in resolution, spectral, and amplitude sensitivity. Furthermore, its straightforward structure and exceptional sensing performance allow it to detect analytes across a wide concentration range. In conclusion, this biosensor is an excellent option for detecting various molecules.

It is crucial to understand that the simulation was based on the assumption of stable environmental conditions. The detection of the sample relies on changes in its refractive index. Achieving consistent sensitivity and specificity across different cancer cell types is challenging due to the variable SPR responses from different environments. Factors such as temperature fluctuations and sample impurities can affect sensor accuracy. Additionally, practical challenges like integrating the technology into clinical workflows, scaling for mass production, and maintaining cost-efficiency must be addressed for effective real-world implementation47.

Furthermore, the experimental results obtained after fabrication may be influenced by noise. Three main types of noise can impact sensor performance: shot noise, fluctuations in the intensity of the light source, and variations in the conversion efficiency of the detector. These factors can be analyzed using various available techniques48,49.

Table 4 Comparative analysis of the most recent biosensors for the detection of cancer.

Conclusion

SPR and Photonic Crystal are both advanced technologies with unique properties that can be harnessed for biosensing applications, including early cancer detection. In our proposed open D-channel PCF-SPR biosensor, we utilize gold due to its favorable properties for surface plasmon resonance and ease of fabrication, which ultimately reduces manufacturing complexity. It also includes a thin layer of TiO2 to improve the adhesion of Au and silica. The design incorporates a square lattice with holes of three different sizes to improve the biosensor’s performance. This variation allows better light interaction with biochemical samples, maximizing resonance shifts when target biomolecules bind. Numerical simulations of the PCF-based SPR biosensor were performed using the FEM. This biosensor shows the highest response for six cancer cells. We utilize spectral and amplitude interrogation techniques to identify small changes in the refractive index of cells associated with six types of cancer. HeLa cells exhibit the highest amplitude sensitivity, resolution, and figure of merit, with values of -1,481.09 RIU− 1, 1.19 × 10− 5 RIU, and 350 RIU− 1. Additionally, MCF-7 cells have the highest wavelength sensitivity, recorded at 5,214.28 nm/RIU. These values demonstrate the sensor’s capability to detect minute changes, which is crucial for early cancer detection. Additionally, the sensor proposed demonstrates a maximum spectral sensitivity of 47,000 nm/RIU within the refractive index range of 1.25 to 1.43. This high-tolerance biosensor can be manufactured easily using existing photonic crystal fiber fabrication technologies. It has numerous applications in medicine and biological analysis, which can be used to detect proteins, viruses, RNA/DNA strands, and various chemical compounds that fall within the specified refractive index range.