Introduction

Photonic crystals (PCs) are periodic dielectric nanostructures engineered for controlling and manipulating electromagnetic waves. PCs allow for truly practicable all-optical devices because of their tremendous ability to control light propagation in ultra-small dimensions [1]. PCs are classified as one, two, or three-dimensional based on refractive index modulation in one, two, and three dimensions. Refractive index modulation results in a forbidden frequency range known as the photonic bandgap (PBG). Periodicity of the PCs can be modified to localize light in a small mode volume by introducing point and line defects [2].

PCs structures are of two types: (1) rods in the air and (2) holes in the slab. Among these, holes in slab-based devices provide remarkable flexibility for sensor design. In contrast to rod-type structures, removal of the background material beneath the PCs is possible in slabs to create favourable conditions for reducing vertical light leakage [3]. Further, larger contrast between the silicon slab and air holes enables substantial confinement of light within the slab, allowing for symmetric light propagation in the \(\mathrm{z}\)-direction perpendicular to the slab plane. Microstructure photonic sensors (or PCs sensors) have received significant attention in recent years as they allow for ultra-compact size, lightweight, low power, quick response, and accurate detection [4]. In general, chemical or biological analytes are identified in a sensor either by (i) label-free sensing or (ii) fluorescence detection techniques. Label-free sensing detects the target biological analyte in its natural state [5], whereas fluorescent-based detection labels the biological molecules first and then detects the intensity of the fluorescence [6]. PCs sensors offer label-free sensing [7]. PCs sensors are primarily based on the refractive index change mechanism [8]. The shift in the resonance wavelength can be seen by infusing various chemical or biological substances into the sensing region [9]. Different refractive index-based sensors [10] are reported in the literature. The current work, however, is focused on chemical/biochemical sensors that have potential applications in both environmental and biological monitoring.

PCs-based sensors existing in the literature are based on (i) ring resonators [8], holes in slab-based waveguides [11], Mach–Zehnder interferometer (MZI)[12], and microcavities [13]. Many PC-based sensors have recently been published in the literature, including temperature sensors [13], pressure sensors [14], humidity sensors [15], and biosensors [16], etc. Chemical/biological sensor has huge number of applications in (i) petrochemical industry, (ii) industrial safety, (iii) biomedicine/biological sensing, (v) environmental sensing, (vi) food testing, (vii) clinical screens, etc. Ring resonator-based sensors [17] are of particular interest since they can analyse a wide range of absorption spectra using only a tiny amount of specimens.

Proposed 2DPCRR in the present proposal has a high-quality factor (Q-factor) of \(3105.58\), and a spectral width of \(0.5\mathrm{ nm}\) at the resonant wavelength of \(1552.79\mathrm{ nm}\). The sensor shows a high figure of merit \((862{\mathrm{ RIU}}^{-1})\), a low detection limit \((1.2*{10}^{-4}\mathrm{ RIU})\), and a maximum sensitivity of \(431\mathrm{ nm}/\mathrm{RIU}\). The sensor is homogeneous in terms of the positions and radius of the holes and the resonant wavelength shifts almost linearly with the holes’ refractive index. The footprint of the proposed 2DPCRR is merely \(75 {\mathrm{\mu m}}^{2}\), much smaller compared to the recently published results. The forward dropping efficiency is high which is around \(98\%\) at \(1552.79 \mathrm{nm}\). The proposed sensor can identify a variety of chemical compounds and therefore can be employed in a range of applications from sensing, switching to filtering. Our structure has been simulated using FDTD and PWE method. FDTD method is used to solve Maxwell's equations in the time domain, whereas the PWE method is used to solve them in the frequency domain [18]. Fabrication processes of PCs structures can be seen elsewhere, e.g. in [19, 20].

Base structure with desirable band diagram

The proposed structure is based on the structure given in the paper [21]. Parameters for the base structure having a desirable band diagram are found in the first step. We start with a PCs slab of the dimension of \(29*21\) with cylindrical air holes arranged in triangular lattices in the X- and Z-directions. The chosen parameters are; lattice constant \((a)=1000\mathrm{ nm}\), a radius of holes \((r)=0.2*a\), the refractive index of the slab \(({n}_{1})=3.4\), and the refractive index of holes \((n)=1\). With these parameters, a narrow bandgap of \(0.012 {\mathrm{\mu m}}^{-1}\) is obtained in the range of\(0.198 \le a/\lambda \le 0.210\). To obtain a wider bandgap, the hole radius is varied and corresponding bandgaps are calculated. The obtained result is as in Fig. 1.

Fig. 1
figure 1

Variation of bandgap with change in radius of the holes of the considered structure

We chose a hole radius equal to \(0.295*a\) as it results in an adequate PBG in a range useful for realizing the optical sensors (see Fig. 2). Further, the corresponding \(r/a\) ensures single-mode light propagation if defect waveguides are created. A larger value of \(r/a\) would lead to undesirable multimode light propagation. The periodic dielectric holes in the slab permit the transverse magnetic (TM) wave, wherein the magnetic field is perpendicular to the plane of the slab. As evident in the figure, the band diagram of the basic structure consists of two PBGs. The first bandgap lies in the range \(0.183 \le a/\lambda \le 0.244\) and the second in the range \(0.518\le a/\lambda \le 0.549\). The first photonic bandgap is of our interest as it spans the wavelength range of 1202–1709 nm.

Fig. 2
figure 2

The photonic bandgap (for the TM mode) of the structure when the radius of holes is \(0.295*a\) (other parameters as mentioned in the text) lies in the range \(0.183 < a/\lambda < 0.244\) and the second in the range \(0.518 < a/\lambda < 0.549\). The first bandgap spans the wavelength range of 1202–1709 nm

In what follows, the sensor structure is proposed and analysed. Its parameters are finalized with the following consideration;

  1. 1.

    With the central value of the bandgap equal to \(0.213 {\mathrm{\mu m}}^{-1}\), the lattice constant should be adjusted to have the operating wavelength of the sensor in the telecommunication range.

  2. 2.

    The ring resonator should have a resonant wavelength in the telecommunication range

  3. 3.

    The refractive index of the slab should be realistic.

  4. 4.

    The sensor should exhibit optimum performance with the chosen parameters.

The sensor

The proposed sensor uses \(r = 0.295{*}a\) same throughout and all holes are spaced with equal periodicity on the slab. There is a hexagonal ring in the middle of the BUS/Input Port and the DROP/Output port, as shown in Fig. 3. The hexagonal ring is created by removing eighteen rods around the centre of the cavity. Fifteen rods are removed to create end linked (with their one end closed) BUS and DROP waveguides. BUS and DROP waveguides are placed on either side of the hexagonal ring forming an optical ring resonator. The resonant wavelength makes multiple round trips, increasing its intensity at the drop port.

Fig. 3
figure 3

Schematics design of the chemical/biochemical sensor. A perfectly matched layer of \(500\mathrm{ nm}\) width has been employed to avoid unwanted back reflections. Grid size of \(a/16\) has been considered to perform simulations

Functioning of the sensor is straightforward. The ring allows coupling of the injected light from the input (BUS) waveguide to the output (DROP) waveguide only at a certain wavelength called resonant wavelength (which depends on the geometric and physical parameters of the structure). If light with a wide spectrum is injected into the input port, only resonant wavelength appears at the output. Increase/decrease of the refractive index of the holes results in red/blue shift in the resonant wavelength. If holes are filled with a chemical/biochemical, the chemical/biochemical can be detected by the resultant red or blue shift of a reference resonant wavelength [9].

Numerical investigations

BandSolve and FullWAVE from RSOFT Design Group, NY-USA, are used for simulations. The dispersion diagram is obtained by solving Maxwell's equation in the frequency domain using PWE method. The proposed structure employs the 2D-FDTD method to study the propagation of the electromagnetic wave in the considered sensor. FDTD solves Maxwell's equation in the time domain (not discussed here for the sake of brevity) [22].

X–Z plane is the plane of propagation. A perfectly matched layer (PML) of \(500\mathrm{ nm}\) width has been employed to avoid unwanted back reflections [23]. To measure the transmission, a power monitor has been configured at the output port. Gaussian pulse with a broad spectral range is launched at the input (BUS) port, and the transmission spectrum is monitored at the output (DROP) port. The output power is measured using the following equation, where, \(T(f)\) denotes the transmission function as a function of wavelength, \(p(f)\) denotes the pointing vector, and \(dS\) denotes the surface normal [24].

$$T\left(f \right)=\frac{1/2\int \mathrm{real}\;\left[{p(f)}^{\mathrm{monitor}}\right]dS}{ \mathrm{Input Power}}$$
(1)

Choice of proper spatial and temporal grid size is required so that the time step matches the simulation output with a real-time system. A grid size of \(a/16 = 22 \mathrm{nm}\) has been considered to perform simulations and the time step of \(\Delta t=0.01490\) is used in the FDTD simulation, it provides stable output. The time step is calculated by [24]

$$\Delta t \le \frac{1}{{c\sqrt {\frac{1}{{\left( {\Delta x} \right)^{2} }} + \frac{1}{{\left( {\Delta z} \right)^{2} }}} }}$$
(2)

where \(\Delta t\) denotes the step time, and \(c\) denotes the speed of light in free space, respectively.

The ratio of energy stored to energy lost per cycle is used to calculate the quality factor of a ring resonator. The quality factor (\(Q)\) is given by

$$Q = \lambda /{\text{FWHM}}$$
(3)

where \(\lambda\) is the resonance wavelength, and \(\mathrm{FWHM}\) (Full-width half maximum) is the spectral line width [8].

The sensitivity \((S)\) of the device is the ratio of a shift in resonant wavelength to change in the refractive index of the given sample and is calculated as

$$S = \frac{{\Delta {\uplambda }}}{{\Delta {\text{n }}}}$$
(4)

where \(\Delta \lambda\) is a shift in the resonant wavelength, and \(\Delta n\) is a change in the refractive index of holes [13].

The figure of merit \((\mathrm{FOM})\) [25] defines as the performance/ability of a device to identify any alteration in refractive index.

$${\text{FOM}} = \frac{S}{{{\text{FWHM}}}}$$
(5)

and low detection limit \((DL)\) [18] is the minimum refractive index change that can be detected and is given as,

$${\text{DL}} = \frac{\lambda }{10 \cdot Q \cdot S}$$
(6)

Structure parameters are optimized to obtain (i) resonant wavelength in the telecommunication wavelength range, (ii) a small value of FWHM with high transmission (high Q-factor) for high sensitivity, (iii) a high figure of merit, and (iv) a low detection limit.

To understand the behaviour of the considered structure and/or to know the most suited parameters, the effect of variation of (i) lattice constant and (ii) radius of the holes on normalized transmission is investigated. Having all other parameters finalized, the effect of variation of the refractive index of holes \((n)\) using various chemicals at \(1550 \mathrm{nm}\) on the normalized transmission is investigated to see the sensitivity/performance of the device.

Effect of variation of lattice constant

In this section, effect of variation of lattice constant \((a)\) on the normalized transmission is investigated. The chosen set of parameters is \(r=2.95*a\), \(n=1.\) The slab refractive index is chosen to be \(3.46\) as it is the refractive index of silicon and we found it results in high coupling. The lattice constant is altered in the steps of \(1\mathrm{ nm}\). As can be seen in Fig. 4, the lattice constants of \(351\mathrm{ nm}\), \(352\mathrm{ nm}\), and \(353\mathrm{ nm}\) yield resonant peaks at \(1547.99\mathrm{ nm}\), \(1552.79\mathrm{ nm},\) and \(1556.82\mathrm{ nm}\), respectively, indicating a red shift in the resonant peak with an increase in the lattice constant. Table 1 demonstrates the sensor's performance as the lattice constant is varied.

Fig. 4
figure 4

Normalized transmission spectra when the lattice constant is chosen to be \(351\mathrm{ nm}\), \(352\mathrm{ nm}\), and \(353\mathrm{ nm}\) and the corresponding resonant wavelengths are \(1547.99\mathrm{ nm}\), \(1552.79\mathrm{ nm}\), and \(1556.82\mathrm{ nm},\)respectively

Table 1 Performance of the sensor on varying the lattice constant

It can be seen that on increasing the lattice constant, the quality factor increases, while the spectral line width remains constant. The lattice constant of \(352\mathrm{ nm}\) is of our interest as it corresponds to the wavelength of \(1552.79\mathrm{ nm}\) (telecommunication range). It is found that \(1\mathrm{ nm}\) of change in the lattice constant results in a wavelength shift of \(4.8\mathrm{ nm}\).

Effect of variation of holes’ radius

Though the radius of the holes is already fixed at \(0.295*a\) in the previous sections, for the sake of understanding performance behaviour, the effect of variation of holes’ radius on the normalized transmission is investigated in this section. The set of parameters for this section is \(a=352\mathrm{ nm}\), \({n}_{1}=3.46,\) and \(n=1\). The holes’ radius is varied with an increment of \(0.05*a\). For holes’ radius equal to \(0.29*a\), \(0.295*a\), and \(0.3*a\), resonant peaks are obtained at \(1560.06\mathrm{ nm}\), \(1552.79\mathrm{ nm}\), and \(1545.59\mathrm{ nm}\), respectively, as shown in Fig. 5. Table 2 depicts the sensor's performance as the radius of the holes is varied.

Fig. 5
figure 5

Normalized transmission spectra when the radius of the holes is chosen to be \(0.29*a\),\(0.295*a,\) and \(0.3*a\) and the corresponding resonant wavelengths are \(1560.06\mathrm{ nm},\) \(1552.79\mathrm{ nm}\), and \(1545.59\mathrm{ nm},\)respectively

Table 2 Performance of the sensor on varying the radius of the holes

On increasing the radius of the holes, a blue shift in resonance wavelength is observed. As can be seen in Fig. 5, a resonant wavelength of \(1552.79\mathrm{ nm}\) with a spectral linewidth of \(0.5\mathrm{ nm}\) is obtained at the holes' radius of \(0.295*a\). Further, a high transmission of \(98\mathrm{\%}\) and quality factor of \(3105.58\) are also observed. Our investigation revealed that the change of \(0.05*a\) in hole radius results in \(7.27\mathrm{ nm}\) of wavelength shift.

Sensor performance

Having structural parameters finalized in the previous sections, this section is devoted to investigating the overall performance of the proposed sensor by varying the refractive index of holes and observing the effect on the normalized transmission. The finalized set of parameters is \(a=352 \mathrm{nm}\), \(r=0.295*a\),\({n}_{1}=3.46\).

As shown in Fig. 6, the dropping efficiency (normalized transmission at the output port) at the resonant wavelength is \(98\mathrm{\%}\). The computed quality factor and spectral line width of the proposed ring resonator are \(3105.58\) and \(0.5\mathrm{ nm}\), respectively, which are desirable values for sensing any chemical and biological analytes. The proposed sensor shows high sensitivity (\(431\mathrm{ nm}/\mathrm{RIU}\)), low DL (\(1.2*{10}^{-4}\mathrm{ RIU}\)), and high \(\mathrm{FOM}\)(\(862 {\mathrm{RIU}}^{-1}\)). It is easily anticipated from the Fig. 6 that if an optical input is injected in to the input port of the sensor structure at the resonant wavelength (1552.79 nm), it would show appreciable transmission, while, an optical input of wavelengths sufficiently away from the resonant wavelength (off-resonant wavelengths) would show zero or negligible transmission. The same is confirmed in Fig. 7a and 7b, wherein optical propagation in the sensor structure is shown through magnetic field profiles. Figure 7a shows the optical propagation for injection of optical wavelength of 1552.79 nm, while Fig. 7b shows the same for the optical wavelength of 1550 nm.

Fig. 6
figure 6

Normalized transmission at a resonant wavelength of \(1552.79 nm\)when the background is air \((n=1)\). The optimum values, for instance, \(a=352 nm\),\(r=0.295*a\),\({n}_{1}=3.46\), and slab thickness of \(219\mathrm{ nm}\) are chosen for simulations. High transmission of \(98\) %, a high-quality factor of \(3105.58\), and small spectral width (FWHM) of \(0.5\mathrm{ nm}\) have been obtained

Fig. 7
figure 7

Magnetic field profile for a on-resonance wavelength of \(1552.79\mathrm{ nm}\) and b off-resonance wavelength of \(1555\mathrm{ nm}\). The red and blue colour represents the positive and negative magnetic field, while the green colour represents the silicon slab. The black outline shows the air holes

We also investigated the chemical sensitivity and performance of the device. Numerous organic/ chemical compounds can be detected by the proposed chemical/biochemical sensor. Table 3 presents some of the findings. The considered values of the refractive indices (at \(1550 \mathrm{nm}\)) of deionized water and a range of chemicals (Anhydrous Ethanol, Isopropanol, Ethylene Glycol, Chloroform, Glycerol) are taken from [26].

Table 3 Performance of chemical/biochemical sensor

The normalized transmission spectrum of the proposed sensor for holes' refractive indices corresponding to water and a variety of chemical compounds is shown in Fig. 8 in the wavelength range of \(1.68\mathrm{ \mu m}\) to \(1.76\mathrm{ \mu m}\). The proposed sensor shows maximum sensitivity of \(431\mathrm{ nm}/\mathrm{RIU}\).

Fig. 8
figure 8

Depicts the normalized transmission spectrum of the proposed sensor for holes’ refractive indices corresponding to water, and a variety of chemical compounds in the wavelength range of \(1.68\mathrm{ \mu m}\)to \(1.76\mathrm{ \mu m}\). The proposed sensor shows maximum sensitivity of \(431\mathrm{ nm}/\mathrm{RIU}\)

It is also revealed, as shown in Fig. 9, that the resonance wavelength shifts linearly as the holes’ refractive index changes which are highly desirable. The sensor's performance is evaluated in the presence of water and a few of the chemical compounds listed in Table 3. A comparison of the proposed sensor with various PCs designs is shown in Table 4.

Fig. 9
figure 9

Shifts in the resonant wavelength as a result of variations in the refractive indices of a variety of chemical substances

Table 4 Comparison of the proposed sensor with various PCs designs

Conclusion

A label-free chemical/biochemical sensor based on 2DPCRR created by periodic holes in the slab is designed in this paper. The design consists of a hexagonal ring resonator. The geometrical/physical parameters of the proposed sensor are optimized, and the optimization procedure is discussed in brief. The ring resonator of the sensor resonates at the wavelength of \(1552.79\mathrm{ nm}\) exhibits high transmission of \(98\%\), high-quality factor (\(3105.58\)) and narrow spectral width (\(0.5\mathrm{ nm}\)). The proposed sensor shows a high figure of merit \((862{\mathrm{ RIU}}^{-1})\) and a low detection limit \((1.2*{10}^{-4}\mathrm{ RIU})\). The sensor exhibits a maximum sensitivity of \(431\mathrm{ nm}/\mathrm{RIU}\). The structure in the present proposal is homogeneous in terms of the holes’ positions and radius; moreover, the resonant wavelength shifts linearly as the holes’ refractive index changes which are highly desirable features. The footprint of the proposed 2DPCRR is merely \(75 {\mathrm{\mu m}}^{2}\), much smaller compared to the recently published results. The proposed sensor can identify a variety of chemical compounds and therefore can be employed in a range of applications from sensing and switching to filtering.