Introduction

PCs are periodic dielectric structures composed of two different dielectric materials having different refractive indices in one, two, and three dimensions. The periodicity creates forbidden frequency ranges called Photonic Band Gap (PBG) [1]. The point and line defect created within the structure can localize light that allows for its manipulation within the cavities and waveguides [2]. PCs have been extensively utilized in designing PBG-based optical devices, such as logic gates [3, 4], Mach–Zehnder Interferometer [5], ring resonator [6], versatile optical junction [7], slow light-based devices [8] and so on. PCs have become a prerequisite in the field of information monitoring (such as sensing and filtering) systems. PC-based sensing technologies provide quick detection with a very tiny quantity of analyte in contrast to alternative sensing technologies [9].

PC nanocavities (PCNCs) are being explored in sensing technologies as those allow for high quality factor and small modal volume and hence, can enhance performance of a sensor significantly by enhancing light matter interaction [10,11,12]. PCNCs can be made extremely sensitive to changes in temperature and refractive index [13]. Numerous RI-based sensors that operate at a telecommunication wavelength of 1550 nm can be seen in the literature. There have been numerous reports of RI-based sensors, including pressure sensors [14, 15], biosensors [16], chemical sensors [17], and others.

In a recent theoretical proposal, Liu et al. cascaded two side-coupled PCs cavities to create a double-cavity photonic crystal (PCs) sensor for the simultaneous detection of RI and T. They built L3 and L4 cavities, which were cascaded up and down to produce two distinct 0th-order modes using two distinct cavities. The temperature was kept at 300 K. The simulated RI sensitivities were in the range of \(111\) and \(107\) nm/RIU, and their temperature sensitivities were about \(74\) and \(76\) pm/K [18].

A super-ellipse core-shaped sensor with a photonic crystal ring resonator was proposed by Radhouene et al. [19] giving Q-factor and temperature sensitivity of \(1727.22\) and \(65.3\) pm/°C, respectively. Benmerkhi et al. [20] used Z-shaped ring resonator and obtained temperature sensitivity of \(96\) pm/K. However, the existing proposals are of larger footprint and/or complex design (due to irregular size of the rods and holes). The quest is to propose a sensor which is smaller in size and simple in design.

In this paper, a L3 cavity photonic crystal slab (NCPCS) sensor is proposed for simultaneous detection of ambient temperature (T) and RI of the surrounding media.

It is worth to mention here that we have considered L3 cavity in our structure as it is of high research interest. L3 cavities allow for high Q-factors (seen experimentally) [10], and exhibit low radiation losses [21]. These cavities support a multitude of modes enabling (i) efficient pumping of cavity lasers by higher order modes and (ii) selective excitation of quantum dots (embedded within the cavity) [22]. Further, L3 cavities allow for highest electric-field intensity at the cavity centre making those useful in quantum electrodynamics experiments [23].

The structure proposed here is much compact and contains rods and holes of same/uniform size, making it easier for lab-on-chip integration or photonic integrated circuits. Further, it performs better in terms of high-temperature sensitivity (\(138\) pm/K) and Q-factor \((3872).\)

The paper is organised as follows. In the second section, the design's geometry is provided, and in the third, the band gap formation is covered. The fourth section presents simulations and numerical results, conclusion are presented in Sect. 5.

Proposed design

Figure 1 depicts the structure, which is made up of a silicon slab and a \(17*15\) (placed along the X and Z axis, respectively) array of triangular lattices with embedded circular air holes. Input and output waveguides are two ends connected waveguides that are used to create the L3 cavity (by eliminating three consecutive air holes in the photonic crystal structure). The lattice constant (a) is \(336\) nm and circular hole radius (r) is \(0.295 a\). The silicon slab's thickness (h) is \(235\) nm and its refractive index is \(3.48\). The band diagram has been obtained using the  PWE method, and the FDTD method has been used to examine how electromagnetic waves propagate within the considered structure.

Fig. 1
figure 1

Schematic design of the sensor

Lattice constant (a), radius (r), and refractive index (n) are tuned to achieve high transmission of the structure and cavity and waveguide parameters are optimized to achieve high Q-factor (of the cavity), maximum coupling (between the waveguides assisted by the cavity), high sensitivity and low detection limit (of the sensor).

Band structure

The bandgap (for TM mode) of the considered structure is obtained as shown in Fig. 2. As can be seen, the bandgap lies in the range \(0.210 \mathrm\,{\mu m} a/\lambda 0.274 \mathrm\,{\mu m}\) and \(0.591\) µm \(<a/\lambda <0.621 \mathrm\,{\mu m}\). The first photonic bandgap region, corresponds to the wavelength range of \(1226 \mathrm\,{nm}<\uplambda <1600 \mathrm\,{nm}\), is of our interest and has been considered in our further investigations.

Fig. 2
figure 2

TM band structure of the basic photonic crystal

Numerical investigation and results

We launch a Gaussian pulse centered at \(1550\) nm (and spans the whole frequency range of interest), into the input port and monitor the output at the output port. Figure 3 illustrates a Lorentzian peak in the normalised transmission at around \(1548.68\) nm. The Lorentzian peak (corresponds to the resonant wavelength, producing the ON state) results from the cavity-assisted coupling between the input and output waveguides at a specific wavelength that depends on the structural characteristics. There is no optical transmission at the output port (producing OFF state) when the light wavelength is sufficiently away from the resonant wavelength (off-resonant wavelength) here, for example, \(1550\) nm.

Fig. 3
figure 3

Normalized transmission spectrum of the sensor

Dual parameter sensing follows a simple process. RI and T sensitivities are determined by identifying shift in the resonant wavelength in relation to the change in RI and T.

Analysis of refractive index sensitivity

For the studies on RI sensitivity, the temperature is considered fixed at \(T=300\) K. Background air hole refractive index is increased from \(1\) to \(1.05\) with an increment of \(0.01\). The normalised transmission spectrums for different RIs of air holes are presented in Fig. 4. As can be seen in the figure, the resonant wavelength gets red-shifted as RI increases. The calculated RI sensitivity here is \(431\) nm/RIU.

Fig. 4
figure 4

The normalized transmission spectrum for different refractive indices of air holes

RI sensitivity (S) is determined as \(\Delta \lambda /\Delta n\); where \(\Delta \lambda\) is the shift in resonant wavelength and \(\Delta n\) is the change in RI (see Table 1). Device quality factor (Q) is determined as \(\lambda /FWHM\), (where \(\lambda\) is the resonant wavelength) [20, 24] and the detection limit (DL) as \(\lambda /(10*Q*S)\) [20]. The device exhibits a maximum of S, Q, and DL as \(431\) nm/RIU \(, 3872\) and \(9.3*{10}^{-5}\) respectively. The effectiveness of the suggested refractive index sensor is displayed in Table 1. Figure 5 illustrates variation in the resonant wavelength with increase in the air hole refractive index.

Table 1 Performance of the proposed Refractive index sensor
Fig. 5
figure 5

Variation of resonant wavelength with increase in refractive index of air holes

Analysis of temperature sensitivity

The thermo-optic coefficient of air (\({10}^{-7}\)) is less important here as it is orders of magnitude smaller compared to the thermo-optic coefficient of Si (\({10}^{-4})\) [18] and therefore, the RI of air may be considered fixed at n = 1. Refractive index (\({n}^{^{\prime}}\)) of Si may be expressed \(n^{\prime} = n_{0} + \alpha \Delta T\) [25]; where \(n_{0}\) is the refractive index at a given temperature and \(\alpha\) is the thermo-optic coefficient (\(2.4*{10}^{-4})\) [26].

Figure 6 displays the normalized transmission spectrum of the proposed structure for different temperatures of the silicon slab. We found that a change of \(5\) K in the temperature of the Si slab results in its RI change of \(0.0012\). As can be observed, the resonant wavelength shifts toward higher wavelength (redshifted) as T increases. Further, the redshift is almost linear with T as shown in Fig. 7. The effectiveness of the suggested temperature sensor is displayed in Table 2. The calculated T sensitivity is \(138\) pm/K. The suggested sensor can measure temperature and refractive index concurrently. Further, Table 3 shows the comparison of proposed sensor with previously published designs.

Fig. 6
figure 6

The normalized transmission spectrum of the proposed structure for different temperature of the silicon slab

Fig. 7
figure 7

Variation of resonant wavelength with temperature of the Si slab

Table 2 Performance of the proposed Temperature sensor
Table 3 Comparison of the proposed sensor with previously published designs

Conclusion

A nanocavity photonic crystal slab (NCPCS) sensor is proposed for simultaneous detection of ambient temperature and refractive index of the surrounding media. The proposed sensor exhibits high quality factor \(3872\), high transmission of \(97\)% and low detection limit \(9.3\)*\({10}^{-5}\mathrm{RIU}\). Further, the sensor exhibits refractive index sensitivity of \(431\mathrm{nm}/\mathrm{RIU}\) and temperature sensitivity of \(138 \mathrm{pm}/\mathrm{K}\). The proposed sensor is compact and contains rods and holes of same/uniform size, making it easier for lab-on-chip integration or photonic integrated circuits. Comparison of the proposed sensor with previously published designs has also been presented at the end. The proposed sensor exhibits considerable performance enhancements in comparison to previously published results.