1 Introduction

Photonic topological insulators are becoming more and more important in integrated optics because of their unique topologically-protected edge state properties, such as topological protection and immunity to structural disorders (Poshakinskiy et al. 2014; Polini et al. 2013; Lu et al. 2014). To produce topological photonic modes, one-dimensional (1D) optical waveguides and photonic crystals (PCs) (Longhi 2013; Verbin et al. 2013), two-dimensional (2D) rod-based PCs (Dong et al. 2015; Ochiai 2014), three-dimensional (3D) PCs (Lu et al. 2014, 2016), plasmonic nanoparticles (Ling et al. 2015; Poddubny et al. 2014), have all been proposed. The potential uses of topological photonic modes in 2D and 3D topological PCs (TPCs), particularly in the fields of integrated circuits and integrated photonic devices, have been severely constrained due to the challenging design and fabrication. On the other hand, 1D TPCs consisting of multilayers provide straightforward potential in several applications due to their feasible properties such as fast response, high speed, easy design, and fabrication (Sohrabi et al. 2019; Chiasera et al. 2019). Such structures are characteristic by inducing robust optical localization resonance mode at topological edge state (TES) with high sensing ability and performance to change in refractive index (RI) (Shen et al. 2016). In the last few years, research focused attention on the change of RI in PCs structures for sensing applications in the field of DNA, cancer cells, bacteria, and gas detections (Dinish et al. 2012; Huang et al. 2011; Fang et al. 2018). Elshahat et al. (2022a) investigated the sensing performance of 1D TPCs for glucose detections by a used structure consisting of multilayers of silicon and silica. In other work, Elshahat et al. (2022b) proposed established TES of 1D TPCs for gas sensing applications with good performance. Recently, Fano resonances have attracted significant attention for use in numerous photonic devices (Breit and Wigner 1936; Adair et al. 1949; Fano 2012), including Fano-transistors (Göres et al. 2000), demultiplexers (Chen et al. 2014), and optical switches (Yu et al. 2014). Fano resonance revealed significant transmission change within a limited wavelength range making it suitable for several applications. As is well known, the interference between the discrete bound state and the continuum of states causes the Fano resonance (Fano 1961). The conventional Fano resonance is fundamentally sensitive to changes in the geometry and environment because it is a resonant scattering state exists by an interference phenomenon between two modes (Limonov 2021). Zangeneh-Nejad and Fleury (2019) investigated the concept of topological Fano resonance for the first time by design and protected from geometry defect. The resulting Fano resonance has a symmetric line shape that is ultra-clear and highly sensitive to external parameters, making it a excellent platform for various applications, particularly in sensors. Geo et al. (2018) construct high Q factor Fano resonance in 1D TPC by coupling between Fabry–Perot mode and topological edge mode. The interference between the topological edge state and bus-waveguide was also used by Gu et al. (2021) to produce Fano resonance. These initiatives open the way for ultra-compact, resilient Fano devices with topological protection, including low-threshold nano lasers, optical switches, and ultra-sensitive optical sensors.

Illuminated by this mechanism, we build a structure based on coupling between two 1D TPCs to generate the Fano resonance response. The first structure consists of five periods and offers a TES, while the other has six periods. This building structure supports a Fano resonance in the optical communication range with a high-quality factor of 106, providing the potential in a variety of applications. Through interference coupling between two recently founded TES, our study produces Fano resonances for the first time from two topologies. Therefore, proposed topological photonics could be used more in sensing-related applications. The applications of photonic topological states in integrated photonic devices and information processing chips are also undoubtedly significantly impacted by this.

2 Structure and theory

The unit building block of our structure consists of two PCs namely PC1 and PC2 composed of a periodic arrangement of silicon and air layers. Through PC1, the silicon layer has a thickness of \(d_{Si} = 350\;{\text{nm}}\), while the air layer has a thickness of \(d_{air} = 300\;{\text{nm}}\) with lattice constant \(a = 650\) nm as shown in Fig. 1a. Each of the PCs consists of five alternating layers of silicon and air with RI \(n_{Si} = 3.464\) and \(n_{air} = 1\), respectively. Meanwhile, the layers thickness of PC2 is calculated to be \(d_{Si} = 115{\text{ nm}}\) and \(d_{air} = 398{\text{ nm}}\) from central wavelength theory (Lam et al. 2005). The transmission spectra of two PCs under applied TE electromagnetic waves are illustrated in Fig. 1b. The black line represented the band gap of PC1 in the range 1390–2052 nm, while the blue color represented the band gap of PC2 in the range 1155–2780 nm. It can be seen that the band gap of PC1 is encompassed in the PC2 band gap. The formed band gap is mainly dependent on the layer's thickness and RI contrast between layers (Mandal and Erickson 2008). Consequently, the two PCs have different topological properties at the same wavelength (Lago et al. 2015). Further, TES can be established at a heterostructure interface between two PCs when stacking together.

Fig. 1
figure 1

a Schematic diagrams of PC1 and PC2 composed of five alternative layers of Si and air (\(n_{Si}\) \(= 3.464\), \(n_{air} = 1\) with \(d _{1Si} = 350 \;{\text{nm}}\), \(d_{1air} = 300 \;{\text{nm}}\) for PC1, and \(d_{2air} = 398\;{\text{ nm}}\), \(d_{2Si} = 115 \;{\text{nm}}\) for PC2). b The transmission spectra of the two separated PC1 and PC2

The TES is crucial for the study of topological physics for bulk-edge correspondence. While difficult to observe directly, the topological properties of the bulk band can be studied by probing the TES (Hafezi 2014; Hu et al. 2015; Mittal et al. 2016). Although the TES in 2D- and 3D-topological systems can move unidirectionally, this necessitates sophisticated design and manufacturing methods, and hence very few of these structures have a TES that has been empirically detected at optical or communication frequencies (Mittal et al. 2016; Hafezi et al. 2013). The proposed structure is numerically simulated using the finite element method (FEM) in the COMSOL-Multiphysics software, with perfect boundary conditions to absorb electromagnetic (EM) waves around the ports.

3 1D TPCs

The schematic diagram of 1D TPCs is illustrated in Fig. 2a resulting from stacking two PCs (PC1 and PC2) and the induced TES appear at wavelength λ = 1470.350 nm as shown in Fig. 2b. The zoom-in shape of TES along with a typical Lorentzian fitting, full width at half maximum value (FWHM = 22.2 pm), and transmission value of 95%. From this profound, resonance arises at heterostructure interfaces (Elshahat et al. 2022b; Joannopoulos et al. 2008). For predicting the photonic TES in the 1D PCs heterostructure system, Chan et al. (Xiao et al. 2014) first used the Zak phase (Zak 1989). They provide a convenient approach for building a TES in various 1D PCs heterostructure bandgaps (Gao et al. 2015; Choi et al. 2016; Li et al. 2017). The ability of the edge local TES to induce photons to transmit through the PCs at frequencies in the bandgap provides a novel approach to managing photon transit. The band topological phase, also known as the Zak phase, of the two PCs, however, indicates that the configuration of PC1 differs from the configuration of PC2 in terms of topological symmetry. In binary perfect PCs, the nth band's Zak phase, which is 0 or π, can be computed using the formula (Xiao et al. 2014).

$$\theta_{n}^{Zak} = \mathop \int \limits_{{ - \pi /{\Lambda }}}^{{\pi /{\Lambda }}} \left[ {i\mathop \int \limits_{{\text{unit cell}}}^{{}} dz\varepsilon \left( {\mathcal{Z}} \right)u_{n,K}^{*} \left( {\mathcal{Z}} \right)\partial_{q} u_{n,q} \left( {\mathcal{Z}} \right)} \right]dq,$$
(1)
Fig. 2
figure 2

a Schematic diagrams of the 1D TPCs structures b the zoom-in of resonance sharp TES peak of 1D TPCs consist of five period and red dashed line with a typical Lorentzian line shape c the band structures for PC1 and PC2 as black curves; and the Zak phase, which is 0 or π for each passband, is labeled in red. (Color figure online)

In which \({\upvarepsilon }\left( {\mathcal{Z}} \right)\) represents the dielectric function, \({\text{u}}_{{{\text{n}},{\text{q}}}} \left( {\mathcal{Z}} \right)\) is the periodic-in-cell part of the Bloch electric field eigenfunction of a state on the nth band with wave vector q. The straightforward way to generate an interface state is to construct two PCs, PC1 and PC2, with overlap bandgaps but opposite topological phase bandgap signs. The sum of the Zak phases of all the bands below the nth gap can be used to establish the topological symmetry sign of the nth gap as follows:

$${\text{sgn}}\left[ {\varsigma^{\left( n \right)} } \right] = \left( { - 1} \right)^{n} \left( { - 1} \right)^{l} {\text{exp}}\left( {i\mathop \sum \limits_{m = 0}^{n - 1} \theta_{m}^{Zak} } \right),$$
(2)

where \(l\) is an integer that denotes how many passband points are crossing under the nth gap. In the absence of a cross-over, l = 0. The TES manifests at the frequency range of the overlap region when the overlap frequency region of the two gaps of PC1 and PC2 is non-zero and the gap topological invariants of the two PCs have opposite signs. In Fig. 2c, the positive and negative gap topological invariants are denoted by yellow and cyan rectangles, respectively, and the Zak phase of each band is indicated by a blue integer (0 or π). The Zak phases of the lowest three bands of PC1 are specifically π, π, and 0, while the lowest three bands of PC2 are 0, π, 0. By computing the gap topological invariants of the lowest three gaps, we find that the signs of PC1 gaps are + 1, + 1, − 1 from low to high frequency, and the signs of PC2 gaps are − 1, + 1, − 1, respectively. The TES continue to exist in the second gap of PC1 and the first gap of PC2, which is seen from their differing gap topological symmetries.

The computation of the heterostructure's transmission is shown in Fig. 2b, and it finds transmission peaks at \(\lambda = 1470.350\;{\text{nm}}\) (corresponding to 204.033 THz) with opposing gap topological invariants of PC1 and PC2. The transmission peak demonstrates that the TES is located at the heterostructure interface of the two PCs, despite being in the bandgap overlap region; the photons were steered through by the TES. The formed TES exhibits good transmission reach to 95% and excellent quality factor (Q) that can be defined as the ratio of resonance wavelength to FWHM thus Q = λc/FWHM = 6.357 × 104. The resulting TES with high robustness and Q factor makes excellent candidates for ultra-sensitive sensors (Elshahat et al. 2022a, 2022b; Weimann et al. 2017). Although TES has a high Q factor value, it has some issues with transmission value that could limit its use in commercial applications. Our previous work demonstrated the sensing performance of 1D TPCs for gas sensing (Elshahat et al. 2022b). Through this work, the Q factor value reaches 6.78 × 105 and transmission power reaches 90%. The coupling between two 1D PCs is suggested as a way to improve this structure performance for RI sensing applications.

4 The coupling 1D TPCs

The coupling between two 1D TPCs can, as was previously discussed, increase the resonance wavelength caused by TES. Two 1D TPCs are stacked together to form the proposed structure as illustrated in Fig. 3a. The first 1D TPCs structure consists of five periods of PC1 and PC2, while the second one has six periods of them. The differences between the formed TES of the two distinct 1D TPCs structures are shown in Fig. 3b. It can be seen that the transmission and FWHM values decrease as the structure period increases from five to six. The sex period structure provides resonance wavelength at 1470.358 nm with an FWHM value of about 2.16 pm. On the hand, as seen in Fig. 3c, the Fano resonance peak is formed as a result of the coupling between two TES that result from stacking two 1D TPCs. The generated Fano resonance can be confirmed by computing the electric field distribution as depicted in Fig. 3d. It can be seen that the induced TES mode causes high electric field localization located at the heterostructures interface of two 1D TPCs. In addition, the calculated electric field intensity component vs. arc length, which was obtained by calculating the electric field intensity at each point along a horizontal line going from left to right in the middle of the proposed structure, shows the maximum electric field intensity corresponding to the TES of two structures. Consider the topological Fano resonance produced by the TESs that emerge at the interface of two PCs. The two classes of the resulting edge states are the bright edge state with low-Q originating from the even modes and the dark edge state with high-Q originating from the bound states in the continuum mode. In this study, the topological Fano resonance is produced by coupling together two 1D TPCs with distinct period values. It is well known that the FWHM decreases, and the Q-factor rises with an increase in the number of periods via TPCs. As a result, the low period 1D TPC offers low-Q bright edge mode while the high period 1D TPC offers high-Q dark edge mode. Both the bright and dark resonances are topological in nature, and the topological properties of the adjacent bulk insulators are in fact related to the formation of the Fano resonance. A low-Q bright edge mode and a high-Q dark edge mode, which are distinct from trivial cases and typically geometry-sensitive, formed the topological Fano resonance (Zangeneh-Nejad and Fleury 2019). Fano resonance typically improves the sensing performance and quality factor values of any sensor design; this is the main objective of including Fano peaks in our sensor design. The formed Fano peak is shown in Fig. 3c excited at resonance wavelength = 1470.352 nm with FWHM value of (FWHM = 1.29 pm) and transmission power reached 99%. As a result, the proposed structure records a perfect Q factor value of Q = 1.14 × 106. When TES of 1D TPCs and generated Fano resonance due to coupling between two TES are compared, the latter has a higher Q factor and high transmission power. The protected edge state can be used to identify RI changes in structure layers because it has a high transmission spectrum and high Q factor.

Fig. 3
figure 3

a Schematic diagram of the proposed structure due to the coupling between two 1D TPCs with a different period b the difference between resulting TES in the case of five and six periods and with generated Fano resonance peak. c The zoom-in of resonance sharp Fano peak of, in which the fitting curve is represented by a red dashed line with a typical Lorentzian line shape. d The calculated electric field |E| intensity distribution associated with the calculated |E| inside the proposed coupling 1D TPC heterostructure at the wavelength of the two-interface state. (Color figure online)

5 Sensing performance of coupled 1D TPCs

The sensing mechanism of the proposed coupled 1D TPCs is based on the shift of the resulting Fano resonance peak due to a change in the RI of the air layer through the designed structure. Consequently, the effective RI is changed through the proposed structure and the resulting resonance wavelength of the Fano peak will change (Mandal and Erickson 2008). The resonance condition depends on the difference in refractive indices between silicon and air, as well as the effective index of the proposed structure, which changed as the refractive indices of the air layers changed. The electromagnetic perturbation theory can be used to analyze this phenomenon (Biswas et al. 2018). To verify sensor performance and efficiency there some parameters are determined such as sensitivity (S) that can be defined as S = Δλ/Δn (nm /RIU) (Elshahat et al. 2022a). Where Δλ is the change in resonance wavelength of the Fano peak due to a change in RI (Δn). Sensitivity represents the most widespread way to verify the efficiency of any sensor. Further, the Q factor and figure of merit (FOM) in other parameters to investigate sensor performance and efficiency. FOM can be expressed as FOM = S/FWHM, while the Q factor represented the ratio between resonance wavelength λc and FWHM (Q = λc/FWHM). On the other hand, a high transmission value is necessary for a high-performance sensor, which improved due to generated Fano peak than reported 1D TPCs (Elshahat et al. 2022b). Another important factor is the detection limit (DL) which can be defined as follows: DL = λC/QS (Zhao et al. 2015; White and Fan 2008). The value of \(DL\) means that the sensor can detect a very small change in RI that can be used in various applications with high efficiency. Further parameters to investigated sensing performance of proposed structure is detection accuracy (DA) and dynamic range (DR) that can be calculated by following relations \(DA = 1/FWHM\), and \(DR = \lambda_{C} /\sqrt {FWHM}\) (Almawgani et al. 2023; Taya and Shaheen 2018; Taya 2018). As FWHM get smaller, DA and DR value get higher and sensor performance gat batter. The transmission spectrum of proposed 1D coupled TPCs is illustrated in Fig. 4 at a different RI of the air layer (nair). It is found that the transmitted peak position shifts toward higher wavelengths (redshift) as the RI of the air layers increases. The Fano resonance wavelength appears at λc = 1470.358 nm when nair = 1.000 with FWHM = 1.29 pm, while it shifts to λc = 1470.358 nm when nair change to 1.001 with FWHM = 0.62 pm.

Fig. 4
figure 4

The transmission spectrum of proposed coupling 1D TPCs when the RI of the air layers changes from i nair = 1 to vi nair = 1.005 with an incremental step of 0.001

The investigated value of sensor performance is depicted in Table 1. It can observe that the increase in the RI of the air layers is associated with a redshift in resonance wavelength of the Fano peak and a reduction in FWHM value. Consequently, FOM and Q factor values show little increase with an increase in air layers RI. On the other hand, the proposed structure shows an excellent value of DL about 10−7. It is reported that the sensing performance is better with a very tiny DL value (Elshahat et al. 2022b). The liner slope between the change in resonance wavelength λc vs change in RI nair can be used to estimate the sensitivity of the proposed structure as displayed in Fig. 5a, where red sphere represented the simulation result fitting by solid blue line (S = 888.252 nm/RIU). In addition, the calculated Q factor and FOM with extreme value reach 2.40 × 106, 1.45 × 106 RIU with transmission reached 99%. Meanwhile, DL with a perfect value of about 10−7 RIU. Figure 5b describe the calculated value of DR and DR of proposed sensor that increase with increase RI. The maximum obtained values of DR and DA are 59,524.64 and 1631, respectively. The calculated value of DR and DA confirm high sensing performance of proposed structure when compared with previous work (Almawgani et al. 2023; Taya 2015).

Table 1 The calculated sensing parameters of proposed ID TPCs at RI of air layers
Fig. 5
figure 5

a The shift in resonance wavelength is a function of change in the RI of air layers, where the red spheres represent simulated results fitting by the solid blue line. b The calculated value of DR and DR of proposed sensor as function of change in RI. (Color figure online)

Experimental approaches for the fabrication of PCs layers composed of silicon and air are becoming increasingly popular, as they offer novel insights into the behavior of light. Such layers can be created using a variety of techniques, such as two-photon polymerization, etching of porous silicon, and lithography (Elshahat et al. 2022a, 2022b; Goyal et al. 2016a). Additionally, the use of quantum dots can provide interesting new properties to the PCs layer. The properties of the PCs layer depend on its geometry, so precision is essential when fabricating these layers. Once the layer is created, researchers can study and manipulate the properties of the light, such as its wavelength and intensity. These layers have the potential to revolutionize a wide range of applications, from data transmission and optoelectronics to solar cells and displays. Table 2 illustrates the comparison between our work and the literature. One or more of the sensing parameters, such as S, FOM, or Q, was weak in the earlier work. Through this work, a great foundation has been established for constructing topological photonic sensors. The heterostructure described here with the Fano resonance peak will provide excellent candidates for the development of topological photonic devices. In comparison to existing published RI sensors including gas sensors, the suggested sensor is characterized by simple fabrication.

Table 2 Comparison with previously reported PC structures for RI sensing

6 Conclusion

In conclusion, Fano resonance was realized in 1D TPCs heterostructure for refractive index sensing with a high-quality factor of 106. The study shows the resulting coupling between the TES of two 1D TPCs composed of different periods of silicon and air layers. The sensing performance of designed coupling 1TPCs was investigated by replacing air layer RI from 1 to 1.005 with constant step 0.001. The proposed structure shows excellent sensing parameters represented in S = 888.252 nm/RIU, Q > 106, FOM > 106 RIU, and a perfect value of detection limit of 10−7 RIU. The generated Fano resonance with a high transmission value of about 99% in optical communication provides a novel sensor for refractive index sensing.