Introduction

As information technology develops, techniques for manipulating and processing light are growing and involving in many applications. Among them, optical circuits, optical gates, and all-optical switches are appeared to be crucial achievements. However, the advancement of optical information technology is hampered by few fundamental problems. One of them is the significant energy loss resulting from errors in the fabrication of photonic devices. To solve this problem, attempts are being made to discover physical principles in addition to fabrication techniques1. Topological photonics is a one possible remedy for this kind of difficulties. The mathematical investigation of geometrical structures that preserve particular quantities through continuous, smooth transitions is known as topology. Closed surfaces, for instance, are categorized according to the quantity of "holes," which is determined by genus. Throughout deformations, Genus does not change, tearing or merging the surfaces. The contribution of topology to physics has led to some unusual phenomena that are robust against disruptions and could result in transports that are unaffected by problems or defects1.

Recently, topology has been widely applied in many fields, including condensed matter2,3,4,5,6,7, cold atoms8,9, acoustics10,11,12,13,14, and mechanics15,16,17. Topology was used in photonics to create optical equivalent of quantum Hall edge states, and this was first noted in systems that used electronics18. Topology and photonics can complement one another in their development. On the one hand, compared with electronic systems, photonic systems are simpler in the design and modification. Photonic systems are therefore good platforms to implement new phenomena in topological physics. On the other hand, topology provides physical rules to improve the performance of photonic devices. Photonic crystals (PCs)17,18,19,20,21,22,23,24,25,26, plasmonic systems19,20,21,22,23,24,25,26,27,28,29,30, synthetically sized waveguide arrays31,32,33,34,35,36, coupled resonator optical waveguides37,38,39,40,41, microcavity polaritonic applications42,43,44,45, waveguide arrays46,47,48,49,50,51,52,53, resonators, and metamaterials54,55,56,57,58 are some of the photonic systems that have been used to propose and recognize topological phenomena. It has been suggested to create crystalline hyperbolic metamaterials with surface states that are topologically protected. The widened equifrequency surfaces of these metamaterials have nonzero chiral numbers48. Topological surface-state curves of such crystalline hyperbolic metamaterials have been identified by near-field examining measurements and confirmed by electromagnetic backscattering defenses59.

Because photonic topological barriers have special topologically preserved edge state properties, such as protection against structural disorders and topological protection, they are becoming more and more significant in integrated optics49,60,61. Topological photonic modes have been created through the use of one-dimensional (1D) photonic crystals (PCs), optical waveguides62,63, two-dimensional (2D) rod-based PCs51,64, three-dimensional (3D) PCs52,61, and plasmonic nanoparticles20,21,22. The possible uses of topological photonic techniques in 2D and 3D topological PCs (TPCs), especially in the fields of combined circuits and embedded photonic devices, have been greatly restricted due to their challenging design and fabrication. Nonetheless, 1D TPCs composed of several layers offer obvious promise in a range of applications because of their useful characteristics like fast response, high speed, easy design, and low cost fabrication53,65. At the topological edge state (TES), these structures display a successful optical adaptation resonant mode that is highly sensitive to variations in refractive index (RI)66. Research is currently concentrating on the variation of RI in PCs structures for sensing utilization in the fields of DNA, cells of cancer, bacteria, and gas detection67. Elshahat et al. investigated the efficacy of 1D TPCs with a structure composed of several silicon and silica layers for the detection of glucose68,69. Also, they suggested effective TES of 1D TPCs for the applications involving gas sensing in another research70.

Herein, in a different manner of connecting TES with different aspects of PCs and photonic band gaps. It has recently been demonstrated that there are numerous studies on unidirectional broadband PBGs71,72,73,74. In this way, the use of metamaterials75 enables PCs with a variety of PBGs and exceptional electromagnetic properties76,77,78. PCs made of alternative dielectric materials and negative-index metamaterials, the angle of incidence has no bearing on the unidirectional nature of the zero-average index gap73,79. Angle-independent zero effective phase gap was observed in PCs with different permeability- and permittivity-negative metamaterials80. More recently, hyperbolic metamaterials (HMMs) have attracted a lot of interest81,82,83,84,85. HMMs are considered a kind of significant anisotropic metamaterials that are used in heat transfer near-field, absorbers with narrow bands, broadband reflectors, and super-resolution imaging81,82,83,84,85. Unlike normal dielectric materials, the spreading phase of HMMs increases with increasing incident angle due to their hyperbolic iso-frequency curve. The phase-variation compensating effect can create new features like angle-independent and red-shifted PBGs by using the HMM and conventional dielectric material86,87. In a unit cell with an HMM and dielectric layer, the propagating phase for the two band ends of the PBG can be opposite in PCs, exhibiting an original angle-dependent 1D broadband PBG that is red-shifted and blue-shifted ends through the long-wavelength and short-wavelength bands, respectively88.

Concerning another main point of this research, numerous researchers have looked into and studied how temperature affects the PBG and have put forth 1D-PC-based temperature sensors. A broad variety of temperature sensors using a 1D-PC with only one defect layer are investigated by Kumar et al.89. A refromatric and low-temperature sensor built around a straightforward 1D binary PC with a superconducting layer are studied by Almawgani et al.90. Wu and Gao looked into a low temperature sensor that utilized 1D-PCs with a dielectric-superconducting pair defect91. Abd El-Ghany et al. studied temperature sensors utilizing 1D-PCs with various double defects92. A highly sensitive temperature sensor based on a 1D-PC microcavity with nematic liquid crystal was reported by Charik et al.93. Ahmed et al. have studied a high-performance temperature sensor based on 1D pyroelectric PCs which includes Tamm and Fano resonant94. Herein, in this work, we will focus on the creation of many localized resonant modes without the insertion of conventional defect layers. Besides, we will investigate the effect of temperature on the position of these localized modes.

Thus, the Maxwell–Garnett models and the widely recognized particular matrix method provide the mathematical basis for the proposed PC model. Regarding to this proposed one-dimensional topological PC design, we pay more attention to its transmission characteristics. The optical properties of the suggested structure are examined in more detail at various thicknesses of the HMM layer, as well as the thicknesses of Si and \({\text{SiO}}_{2}\) layers in two stacked PC designs. Moreover, the impact of the HMM's periodicity and the Ag filling ratio inside the HMM is discussed as well. Finally, the localized resonant modes are examined and discussed for the purpose of temperature sensor using these topological and invariant geometrical parameters that will be a new scenario of 1D PCs sensors. Indeed, this new kind of geometrical stable and high-performance temperature sensor will be a promising point deserves to be studied.

Theoretical formulism

Model design and transfer matrix method

The suggested PC structure of is made up of two PCs, PC1 and PC2, which are arranged periodically. Layers of silicon (Si) and silicon dioxide (\({\text{SiO}}_{2}\)) made up the first PC1, while layers of silicon dioxide (\({\text{SiO}}_{2}\)) and HMM are found in the second PC2. Through the PC1, the thickness of the silicon layer is \({d}_{Si}=150 \text{nm}\) with RI (\({n}_{Si}=3.464\)). In contrast, the thickness of the silicon dioxide layer is \({d}_{Si{O}_{2}}=200 \text{nm}\) and RI (\({n}_{Si{O}_{2}}=1.45 )\). The lattice constant (the thickness of each unit cell) is a = 350 nm. Every PC is made up of N = 1. In the meantime, it is proposed that the thicknesses of layers in the PC2 are \({d}_{Si{O}_{2}}=140 \text{nm}\) and \({d}_{HMM}=276 \text{nm}\).

The definition of the subwavelength dielectric-dielectric multilayer (the second layer) in the PC2 is known as type-I HMM and it is defined with configuration \({\left(CD\right)}^{S}\)95. Where C and D represent the materials Si and Bi4Ge3O12 or BGO, with,\({ n}_{BGO}=2.05\), respectively, and S = 2 defines the periodicity of HMM layer. Therefore, \({\left[A{\left(CD\right)}^{S}\right]}^{N}\) describes the whole PC2, and it can be written as \({\left(AB\right)}^{N}\). So, B = CD, and A, C are tow dielectric layers. In addition, D is the HMM and N is the number of period of this photonic crystal design.

Using the effective medium theory, the efficient proportional permittivity tensor of the subwavelength Si/BGO multilayers can be expressed as follows81:

$${\varepsilon }_{B}=\left[\begin{array}{ccc}{\varepsilon }_{Bx}& 0& 0\\ 0& {\varepsilon }_{Bx}& 0\\ 0& 0& {\varepsilon }_{Bz}\end{array}\right],$$
(1)

where,

$${\varepsilon }_{Bx}=p{\varepsilon }_{C}+\left(1-p\right){\varepsilon }_{D}$$
(2)
$$\frac{1}{{\varepsilon }_{Bz}}=\frac{p}{{\varepsilon }_{C}}+\frac{\left(1-p\right)}{{\varepsilon }_{D}}$$
(3)

The filling ratio of the subwavelength Si layer inside the HMM is represented by \(p=\frac{{d}_{C}}{{d}_{C}+{d}_{D}}\). In the configuration, it is proposed that p = 0.42. The subwavelength multilayered \(Si\)/\(BGO\), x and z parts in Eq. (1) are computed using Eqs. (2) and (3), which takes the efficient relative permittivity tensor into account as a wavelength index.

It is commonly known that the thermo-optic effect and thermal expansion can alter the medium's thickness and refractive index. The following relation gives the change in thickness caused by thermal expansion as follow91:

$$h = h_{0} (1 + \alpha \Delta T),$$
(4)

where \({h}_{0}\) is the material's thickness at room temperature. α represents the medium's thermal expansion coefficient, and ∆T denotes the temperature change. The following relation represents the altered refractive index as a result of the thermo-optic effect:

$$n = n_{0} (1 + \beta \Delta T),$$
(5)

where \(\beta\) is the medium's thermo-optic coefficient and \({n}_{0}\) is the material's refractive index at room temperature.

Then, Maxwell's equations and boundary conditions serve as the foundation for the TMM, which is used to calculate the reflectance/transmittance spectra of 1D-PCs. Therefore, the best approach to do that in order to see the impact of the incident radiation via our PC structure in detail is to use the transfer matrix method96. Transfer matrix method or transmission matrix method is an accurate and simple method in describing the response of the electromagnetic waves through multilayer structures96. This method is basically depending on the analysis of the electric and magnetic fields of the incident radiation through the considered layered structure. For a detailed description of the structure transmittivity based on this method, section S2 in the supplementary data S1 demonstrates this point.

Performance and sensitivity equations

The sensitivity (S) of a sensor is one of its important characteristics; it establishes the efficiency of the sensor. The ratio of the temperature change (∆T) to the change in the peak position or resonant wavelength (\(\Delta {\lambda }_{peak})\) defines the proposed temperature sensor. The sensitivity is defined as follow:

$$S = \frac{{\Delta \lambda_{peak} }}{\Delta T}$$
(6)

where, the measurement of sensitivity is given in unit \(\text{nm} /(^\circ \text{C}\)). Then, the quality factor (Q) is another important sensor-related parameter that influences the effectiveness of the device. In essence, the sharpness of the transmittance curve (or peak sharpness) is expressed by the Q-factor. The percentage of peak wavelength (\({\lambda }_{peak}\)) to its full width at half maximum (FWHM) can be used to express it as:

$$Q=\frac{{\lambda }_{peak}}{FWHM}$$
(7)

The sensor device should function at its best case when the Q-factor value is as high as feasible.

Results and discussions

As shown in Fig. 1, the proposed design is constructed from two different PCs. The second one (PC2) has a configuration of \(\left[Si{O}_{2} : {\left(Si/ BGO\right)}^{2}\right]\). Here, the filling ratio of Si layer through the HMM (p) is equivalent to = 0.42. Then, \({d}_{C}=57.96 \text{nm}\) and \({d}_{D}=80.04 \text{nm}\) are considered in our calculation. Notably, the thickness of the HMM layer's single cell is d = 138 nm, or approximately 0.031 times the intended Bragg wavelength, the effective medium concept is believed to be accurate97.

Figure 1
figure 1

A schematic diagram of the PC1 and PC2. Each PC composed of one period. PC1 consists of Si and \({\text{SiO}}_{2}\) (\({\text{n}}_{\text{Si}}=3.464\),\({\text{ n}}_{{\text{SiO}}_{2}}=1.45\)) with \({\text{d}}_{\text{Si}}=150\text{ nm}\),\({\text{d}}_{{\text{SiO}}_{2}}=200\text{ nm}\), and (\({\text{SiO}}_{2}\) and HMM) with \({\text{d}}_{{\text{SiO}}_{2}}=140\text{ nm}\), \({\text{d}}_{\text{HMM}}=276\text{ nm}\) for the second PC2.

Topological characteristics of the designed 1D PCs

Now, we have introduced the optical features of our designed based on the previous mathematical formulism. Meanwhile, the transmittance characteristics of the two 1D-PCs were calculated. Then, the topological features of our considered TPCs are demonstrated. Furthermore, we have illustrated how the transmittance characteristics of the TPC are affected by the thicknesses of the considered materials, the periodicity of the HMM and the filling ratio of Si through the HMM layer.

The block diagram of 1D TPCs, which is produced by arranging two PCs (PC1 and PC2), is shown in Fig. 2a. Here, we have considered only one unit cell in each PCs (PC1 and PC2) which make the suggested design novel and promising regarding the manufacturing procedure. Notably, most of the designed sensing tools based on photonic and phononic structures are essentially designed using a relatively large number of unit cells i.e., N = 4 or more. Here, the transmittance characteristics of the suggested structure show the emergence of many resonant modes with various transmittance values through the considered wavelengths, as shown in Fig. 2b. These modes are known as topological edge states (TESs). These modes can be considered for detection and sensing of some varying physical parameters such as temperature, electric field, magnetic field, and pressure as well. Next, as seen in Fig. 2c,d, the induced TES is visible throughout the whole near-infrared spectrum at specific wavelengths, such as λ = 315.4 nm and λ = 1791 nm. Figure 2c,d depict the zoomed-in form of the TES, of full width at half maximum values (FWHM = 0.7 nm and FWHM = 14 nm), and (93.9% and 87.6%) transmission values, respectively. This profound leads to resonant at heterostructure interfaces70,98. For the first time, the photonic TES in the 1D PCs heterostructure was predicted based on explanation of Zak phase99. They provide a workable technique for building a TES in various 1D PC heterostructure bandgaps100,101,102. It offers a new way to control photon transit because the local TES can induce photons that are carried by the PCs at bandgap frequencies. Nonetheless, the Zak phases, or the band topological phases, of the two PCs demonstrate that, in terms of topological symmetry, PC1's arrangement differs from PC2's arrangement. Meanwhile, TES are capable of inducing photons of a specified wavelength to be localized within the PBG99. Notably, Zak phase that also known as the TES needs for combining two PCs of different configurations in terms of the topological symmetry99,100,101,102. On other words, the construction of two PCs with overlapping PBGs of opposing topological phase bandgap leads to the appearance of this interface state100. 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 gap99. Meanwhile, the TES appears inside a distinct frequency at nonzero value of the two gaps of PC1 and PC2, overlapping frequencies and the gap topological invariants of the two PCs have opposite signs99.

Figure 2
figure 2

(a) Diagrammatic representations of the 1D TPC structures, (b) the transmittance characteristics of a 1D TPCs and (c,d) the zoom-in of resonant sharp TES modes of 1D TPCs which consisted of one period for each PC.

Here, the heterostructure transmission characteristics are investigated in Fig. 2c,d. Transmission modes with opposing gap topological parameters of PC1 and PC2 are observed at = 315.4 nm and 1791 nm. The transmission mode indicates that the TES is located at the heterostructure related of the two PCs, even though it is in the bandgap overlap region; the TES guided the photons through. The resulting TES has an outstanding quality factor (Q), equal to \(\frac{{\lambda }_{c}}{FWHM}=4.5057\times {10}^{2}\), and an outstanding transmission value extend up to 93.9%. The proportion of the resonant wavelength to FWHM is defined as the quality factor (Q) of the considered mode. Right now, we have a wide range of resonant wavelengths with high quality factors (Q) and good transmission values. Although TES has a high Q value, some transmission value problems may prevent it from being used extensively in industrial processes. To improve this structure's performance in applications where it serves as a sensing tool, topological 1D PCs are advised.

The impact of changing the thickness of Si layer on the topological features of the designed structure

Figure 3 explains the transmittance properties of the proposed TPC design at different Si layer thicknesses of 147 nm, 149 nm, 151 nm, and 153 nm. Figure 3 shows the emergence of seven resonant modes, as shown in Fig. 3a. The number of resonant modes becomes constant as the thickness of Si increases to 149 nm, 151 nm, and 153 nm, but the intensity of transmission varies slightly, as seen in Fig. 3b–d, respectively. Moreover, there is a little shift in their spectral position with the increase in the thickness of Si layer as shown in Fig. 3e. However, this little shift does not effect on the topological features of the designed TPCs. For consideration, we have a localization for all the resonant modes. Conversely, as the thickness of the Si layer increases, each peak maintains its position. The position of the resonant modes is shown in Fig. 3e with a slight decrease in transmission intensity. Consequently, a good qualitative information about the stability and topological protection of the edge modes is obtained. In particular, the TESs may provide some little changes in their characteristics regarding the geometrical changes or construction flaws.

Figure 3
figure 3

The transmittance properties of a one-dimensional TPC design contains HMM at different thickness values of the Si layer.

The effect of varying SiO2 layer’s thickness on the topological characteristics

The estimated PC design transmittance properties at various \(Si{O}_{2}\) layer thicknesses in PC1 are investigated in Fig. 4 as \({d}_{Si{O}_{2}}= 196\text{ nm}, 198\text{ nm}, 202\text{ nm},\text{ and }204\text{ nm}\), with a fixed thicknesses of other layers in PC1 and PC2. An increase in \({d}_{Si{O}_{2}}\) results in no change in the number and position of resonant modes, as Fig. 4 illustrates. Figure 4a illustrates that there are seven resonant modes at \({d}_{Si{O}_{2}}= 196 \text{nm}\). The number of resonant modes remains seven as the thickness of the \(Si{O}_{2}\) layer increased to 198 nm, 202 nm, and 204 nm, but the intensity of transmittance changed slightly, as seen in Fig. 4b–d, respectively. To sum up, Fig. 4e displays the response of the resonant modes at different thickness of SiO2 layer. The figure shows a small reduction in their transmission intensity. However, this decrease in transmittance does not effect on the survival of the edge mode. In summary, our results guarantee the robustness of the interface mode towards increasing the thickness of \({d}_{Si{O}_{2}}\) in PC1. This implies that light moves along the interface with minimal energy losses, without reflection, and with small changes in its energy flux.

Figure 4
figure 4

The transmittance properties of a one-dimensional TPC design contains HMM at different thickness values of the \({\text{SiO}}_{2}\) layer in PC1.

The impact of Si filling ratio in the HMM layer on the topological features

Here, we describe the properties of the obtained resonant modes and explain how our proposed structure's optical transmittance is affected by the Si filling ratio in the HMM layer. When the Si filling ratio is altered, Fig. 5 shows the response of the amount of resonant modes and their transmittance intensity regarding this change. In fact, the effective permittivity of the HMM layer is significantly affected by changes in the filling ratio as observed in Eqs. 2 and 3. However, Fig. 5 shows that, the increase in the filling ratio of the Si is not almost effective on the transmittance properties of the resonant mode despite its significant contribution on the permittivity components of the HMM. This response could be due to the topological feature of our 1D TPCs that is robust against the geometrical changes. In this regard, as shown in Fig. 5a–d, respectively, the number of the resonant peak stays constant at 7, but with slightly difference in their transmittance intensities. Also, Fig. 5e summarize this result. Consequently, remarkable qualitative information about the robustness and topological protection of the edge modes becomes available.

Figure 5
figure 5

The transmittance properties of a one-dimensional TPC design at various filling ratio of Si inside the HMM layer.

The effect of changing the periodicity of the HMM on the topological properties

Figure 6 shows that, as the periodicity number of the HMM layer (S) increases, the number of resonant modes remains constant with a little changes in their transmittivity. As can be seen in Fig. 6a, the periodic number of HMM S = 2 produces 7 resonant modes. Following this, as investigated in Fig. 6b–d, the number of resonant modes stabilized at 7 with a smaller reduction in transmission intensity as S increases to 4, 6, and 10, respectively. The resonant modes were localized at the same spectral wavelength despite the increase in the HMM’s periodicity as depicted in the summarized Fig. 6e. The increasing periodicity of the HMM suggests that the thickness of this layer is increasing. Then, as reference95 illustrates, we can anticipate that the number of resonant modes will begin small and increase as the periodicity of the HMM increases. In our work, this transmittance decrease has no effect on the ability to survive of the edge mode as the thickness of the HMM layer increases. Overall, our results show that the robustness of the interface mode is shielded from adjustments that increase the HMM's periodicity, which may be helpful in certain applications like temperature sensor and optical filters as well.

Figure 6
figure 6

1D TPCs transmittance characteristic includes various periodicity of HMM.

The impact of varying the thickness of SiO2 layer in PC2 on the topological features of the designed structure

Next, Fig. 7 shows the predicted PC design transmittance properties at different \(Si{O}_{2}\) layer thicknesses in PC2 as \({d}_{Si{O}_{2}}= 130 \text{nm}, 135\text{ nm}, 145\text{ nm},\text{ and }150\text{ nm}\), while PC1 and the (HMM) layer thicknesses stay fixed at their initial values. Figure 7 shows that there is no variation in the number and position of resonant modes with an increase in \({d}_{Si{O}_{2}}\). There are 7 resonant modes at \({d}_{Si{O}_{2}}= 130 \text{nm}\), as shown in Fig. 7a. As the thickness of the \(Si{O}_{2}\) layer raises more to 135 nm, 145 nm, and 150 nm, the number of resonant modes is still seven, as can be seen in Fig. 7b–d, respectively, however their intensities are slightly decreased. Then, Fig. 7e indicates the role of SiO2 thickness on the characteristics of these resonant modes. The survival of the edge mode peak is unaffected by this transmittance decrease. To sum up, our findings ensure that the interface mode remains stable as the thickness of \({d}_{Si{O}_{2}}\) in PC2 increases. This result investigates that light travels along the interface with negligible energy flux variations, no reflection, and minimal energy losses.

Figure 7
figure 7

The impact of \({\text{SiO}}_{2}\) layer’s thickness in PC2 on the topological features of the designed 1D TPCs.

The effect of changing the thickness of the HMM on the topological features

Finally, the transmittance characteristics of the suggested TPC design at various HMM layer thicknesses of 130, 135, 145, and 150 nm are described in Fig. 8. As seen in Fig. 8a, there are seven resonant modes. As the thickness of HMM layer increases to \({d}_{HMM}=135 \text{nm}, 145\text{ nm and }150\text{ nm},\) the number of resonant modes remains constant, as shown in Fig. 8b–d, respectively. On the other hand, each peak holds its position as the HMM layer increases. Figure 8e displays the position of all of the resonant modes along with a small transmission intensity decrease. This yields robust qualitative information about the topological stability and protection of the edge modes.

Figure 8
figure 8

The transmittance spectra of the proposed 1D TPCs at different thicknesses of the HMM’s layer.

The performance of the suggested 1D TPC temperature sensor

In this subsection, we have discussed the response of the resonant modes regarding the temperature variations as shown in Fig. 9. Here, the temperature change is classified as an external parameter rather than a geometrical change. This parameter can lead to a significant change on the optical properties of the considered materials specifically their indices of refraction due to the thermos-optic effect as indicated in Eq. (5). Therefore, the changes in the indices of refraction of the constituent materials could give rise to some changes in the transmittance values and the spectral positions as well of the resonant modes. This response could be promising towards considering this design as a promising temperature sensor with a topological feature of some robustness against the geometrical tolerance. The transmittance spectra of our designed 1D TPCs \(\left([Si : Si{O}_{2}]/\left[Si{O}_{2} : {\left(Si/ BGO\right)}^{2}\right]\right)\) at different temperatures are displayed in Fig. 9. For PC1 thicknesses, the values are \({d}_{Si}= 150 \text{nm}\), \({d}_{\left(Si{O}_{2}\right)1}= 140 \text{nm}\) and for PC2, the values are, \({d}_{\left(Si{O}_{2}\right)2}= 200 \text{nm}\), \({d}_{HMM}= 276 \text{nm}\). Figure 9b displays an enlarged version of the gearbox modes from Fig. 9a. At Tr = 75 °C, a resonant transmission peak is present at wavelength 1805 nm. The resonant transmission mode's wavelength shifting as temperature rises (red shifting with temperature rise). A resonant transmission mode is obtained at 1835 nm at Tr = 175 °C, indicating a 30 nm wavelength shift in comparison to Tr = 75 °C. Consequently, a resonant transmission peak is obtained at 1865 nm and 1894 nm, respectively, at Tr = 275 °C and 375 °C. Table 1 shows the wavelength at which resonant transmission modes at various temperatures. Moreover, this table indicates the overall performance of the considered sensor in the vicinity of sensitivity, quality factor and figure of merit as well. In this regard, the investigated results show a relatively high sensitivity of 0.27 nm/°C besides a Q value of 133. Here, a small value of quality factor is obtained due to the increased value of FWHM because our design contains only 2-unit cells, one for PC1 and the other for PC2. In particular, small values of periodicity could give rise to large values of FWHM. Finally, Table 2 compares the main performance parameters of the suggested temperature sensor to those of previously published temperature sensors in order to evaluate the temperature-sensing capabilities of the proposed temperature sensor. Table 2 clearly shows that the designed structure performs better and more sensitive to temperature when it is topologically symmetric. In contrast to the earlier research mentioned in Table 2, the suggested design provides a little sensitivity compared with some of these published results. However, we believe that our suggested temperature sensor could be of a potential interest compared with tis counterparts. In particular, it possesses the robustness and stability against the geometrical tolerance unlike these designs. In addition, our designed temperature sensor contains a few number of layers. Therefore, our designed 1D TPC temperature sensor could provide some advantages through the manufacturing procedure.

Figure 9
figure 9

The transmittance characteristics of the designed 1D TPC temperature sensor at different values of temperature, (a) for a wide range of the incident electromagnetic waves, and (b) zoomed view of the resonant mode.

Table 1 The values of resonant peak, sensitivity, Q-value, FOM and FWHM at various temperatures.
Table 2 Comparison of our result with some the previous published ones.

Conclusion

Lastly, we theoretically analyzed the transmittance properties of a one-dimensional TPC at visible light and NIR. Our designed TPCs contains two different PCs. We compute the properties of resonant modes with stability in our design using the characteristic matrix model and the effective medium theory. Furthermore, we examine the effects of \(Si{O}_{2}\) and Si layer thickness, HMM thickness, Si layer filling ratio, and HMM periodicity on the characteristics of the emerged resonant modes. Interestingly, our numerical findings demonstrate that our designed 1D TPCs provide profound stability and robustness as well against the geometrical changes. In comparison with the traditional uniform PC, the proposed topological PC exhibits a considerably lower threshold and higher manufacturing facilities tolerance. Thus, our structure can be promising as temperature sensor with a relatively high sensitivity of 0.27 nm/°C besides a Q value of 133.