Introduction

Sulfur dioxide (SO2) is an incomprehensible gas, with a pungent smell. Approximately 99% of airborne SO2 originates from human resources. In the USA, where the population is larger, a study was carried out on 20,472 children and adults. Respiratory diseases are found to be diagnosed because of SO2. Areas that have produced this SO2, such as the Salt Lake Basin and Rocky Mountain, cause lower respiratory disease in children [1]. Photonic crystal fiber (PCF) is a fast-growing field that, since the last eras, has attracted incredible attention. By attaching and limiting air holes at regular intervals, the PCF guides the light, and these holes run along the length of the fibers. By varying the size of holes in the core and cladding, the propagation of light can be regulated. Because of its ability to control light in hollow bodies, the loss of blockage is very low and the contact of light is increased, resulting in increased fiber sensitivity [2]. A number of reported works [3,4,5,6,7,8,9,10,11,12,13,14,15,16] have been developed to investigate the performance of optical sensors based on PCF. In several applications, PCF is used, such as gas detection [3, 4], chemical detection [5, 6], pressure detection [7], bio-medical and temperature sensing, etc. Conventional fibers suffer from limited design flexibility in the core and increased complexity in finding lower value containment loss and sensitivity, limited core size, and difficult selection of materials [8, 9]. For gas sensors and liquid sensors, the hollow-core PCFs are more suited.

Hollow-core fiber is an optical fiber that guides light in the hollow region [10, 11]. As a result, only a minimum amount of light will spread to the solid fiber material (typically a glass). These fibers are called photonic band gap fibers. The unique feature of the hollow core is that it will allow the control of the gas compositions and provide long interactions between the light and the gas. Hollow-core fiber reduces non-linearity as only a small amount of light propagates in silica; the effect of non-linearity will be greatly reduced compared to concrete core fibers. These bio-sensing and chemical senses play an important role in medical science. As a result, most researchers keep an eye on the detection of fluid, chemical, and gas sensitivities [12,13,14,15,16]. Several numbers of research studies on gas detection were reported. Micro-structured [17] GeO2-doped silica PCF achieved a relative sensitivity of 16.88%. The hybrid PCF gas sensor generates 15.67% relative sensitivity to 1.33 μm wavelength.

The index guiding [19] PCF was projected for gas detection applications and achieved a relative sensitivity of 32.99%. Hexagonal, porous PCF sensor produced a relative sensitivity of 42.27% for a wavelength of 1.3 μm [20], followed by 53.07% for a PCF-based gas sensor [21]. Sensitivity of 55.10% to the 1.33 μm wavelength for spiral PCF [22] was also achieved. In the porous core PCF sensor [23], the gas was detected in the terahertz region and a propagation loss of 0.013 dB/m was achieved. This sensor detects toxic gases, with a sensitivity of 0.268%/ppm. Highly sensitive hydrogen sulfide (H2S) gas sensor using a combination of graphene properties was proposed. The relative sensitivity of 1.2 × 104 nm/RIU for H2S gas [24] was achieved with this method. H2S gas was detected by the PCF Mach–Zehnder interferometer [25]. Titanium dioxide/amino-functionalized graphene quantum dots are coated over the PCF surface to detect H2S. The relative sensitivity of 26.62 ppm − 1 was achieved using this method.

The hexagonal shape PCF sensor is investigated for H-PCF and V-PCF gas sensors, and it plays a significant role in the COMSOL environment. For chemical sensing, a hexagonal shape sensor produces the best results [26]. The cladding air hole [27] was hexagonal in shape, limiting light in the core region. The V-PCF structure with different elliptical core and cladding is investigated in this proposed work. Elliptical air holes in the cladding with an additional elliptical constant are high sensitivity and low confinement loss. To understand the properties of elliptical air holes, configurations of vertical and horizontal air holes are analyzed. The relative sensitivity and confinement loss of the proposed V-PCF structures against accurate gas analysts are examined and precisely compared. In addition, the sensitivity of the proposed gas sensor is compared to other PCF sensors.

Design Methodology

The outer and inner elliptical sheaths are designed vertically and horizontally in PCF structures, and then the elliptical core is shaped, as shown in Fig. 1a, b. In the cladding and core region, the elliptic holes are constructed to achieve high relative sensitivity and low confinement loss at the same time. COMSOL Multiphysics software examines the features of the V-PCF and H-PCF with FEM.

Fig. 1
figure 1

PCF gas sensor diagram. a Structure of V-PCF sensor. b Structure of H-PCF sensor

V-PCF Sensor Design

Figure 1a illustrates the proposed V-PCF gas sensor. The V-PCF consists of two outer cladding layers and one inner cladding layer, and the core surrounds the center circle. The outer cladding, inner cladding, and core are elliptical. The elliptical shape of these different layers is denoted by an elliptical constant η and is represented as \(= \frac{{d}_{b}}{{d}_{a}}\), where \({d}_{a}\) and \({d}_{b}\) are the a-semi-axis and b-semi-axis, respectively [6]. The number of air holes in the outer cladding layers is 24 and 18, respectively. The third inner cladding layer has 16 air holes. The elliptical constant of third cladding layer is 0.625 [a-semi-axis=0.8µm and b-semi-axis=0.5µm]. The size of the elliptical core is 0.71 [a-semi-axis=0.7µm and b-semi-axis=0.5µm]. The center air hole is circular and a refractive index (RI) of 1. The lattice pitch period amid two neighboring holes of the proposed gas sensor is symbolized as and is about 1.8µm. This design aims to confine the light in the core area. An active boundary setting is done by adding the PML at the geometry’s outer area, which is required to avoid scattering loss.

H-PCF Sensor Design

The elliptical outer cladding air holes are placed horizontally on the H-PCF sensor design, as shown in Fig. 1b. The structure consists of three elliptical cladding layers and one elliptical core layer. The two exterior cladding layers with a horizontal elliptic air hole have an elliptical constant of 1.33. The elliptical constant of the third cladding layer and the core are 0.625 and 0.714, respectively. If the pitch value is increased or decreased in this structure, the result is significantly less, and the pitch value of this H-PCF is 1.8 µm. Three different PML values are analyzed, and the best one is compared to the best vertical PML. The outer two elliptical constants of V-PCF and H-PCF are compared with the different elliptical constant values shown in Fig. 2a, b. It is inferred from the figures that the V-PCF and H-PCF sensors produce a high sensitivity of 0.75 and 1.33 elliptical constants. Different readings are analyzed for the outer cladding above and below 0.75 and 1.33 elliptical constants for V-PCF and H-PCF sensors respectively; from the analysis, it was found that the elliptical constant 0.75 and 1.33 for V-PCF and H-PCF sensors produces the best result. Considering the best elliptical constant outer cladding for the V-PCF and H-PCF sensors, different elliptical constants for inner cladding and core are analyzed. Figure 2c, d show that the elliptical constant of 0.625 and 0.71 for internal cladding and core produces the best sensitivity. The structure of the gas sensors is designed to detect SO2.

Fig. 2
figure 2

Comparison graph for different elliptical constant. a V-PCF outer cladding. b H-PCF outer cladding. c Inner cladding. d Core layer

To analyze the proposed gas sensor’s performance with a wavelength of 0.8 to 1 µm, the parameters such as relative sensitivity, effective area, attenuation, and confinement loss are significant. The relative sensitivity can be expressed as follows:

$$r= \frac{{n}_{r}}{{n}_{eff} } \times f$$
(1)

where \({n}_{r}\) the RI of the material to be sensed, \({n}_{eff}\) is the effective RI of the model, and \(f\) is the power ratio in percent. The power ratio is defined in the Eq. (2):

$${f}=\frac{{\int }_{{Sample}}{Re}\left({{E}}_{{x}}{{H}}_{{y}}-{{E}}_{{y}}{{H}}_{{x}}\right){d}\mathrm{x}\mathrm{d}\mathrm{y}}{{\int }_{\mathrm{total}}{Re}\left({{E}}_{{x}}{{H}}_{{y}}-{{E}}_{{y}}{{H}}_{{x}}\right){dxdy}}\times 100$$
(2)

Hy, Hx and Ey, Ex are transverse magnetic and electric fields in the y- and x-axis, respectively. The confinement loss is calculated using the imaginary part of the good RI values shown in Eq. (3):

$${L}_{c}=8.686{k}_{0}x{I}_{m}\left({n}_{eff}\right)\times {10}^{6}$$
(3)
$${\mathrm{k}}_{0}=\frac{2\pi }{\lambda }$$

The RI of SO2 at 25 °C is 1.3396, which is placed in eight elliptical cores. When the sensor senses the gas, the light will confine in the 0.8- to 1-µm wavelength, and the sensitivity is improved from the minimum wavelength. In this proposed gas sensor, the output is obtained, where the light is confined in the core area and produces the best result. The light which is not contained in the core area is called confinement loss. The light confinement in the core area for the V-PCF sensor and H-PCF sensor is shown in Fig. 3a, b.

Fig. 3
figure 3

Light confinement of a V-PCF b H-PCF gas sensor

The simulated output of both the horizontal and vertical PCF gas sensors is compared in Table 1. An extremely low confinement loss of 5.93E − 04 dB is attained for the V-PCF sensor and 8.94E − 04 of H-PCF. The attenuation for the V-PCF sensor is only 1.1865 dB/km, and the H-PCF sensor’s value is 4.18 dB/km. Comparatively, the attenuation of the V-PCF sensor is good. The V-PCF sensor’s relative sensitivity is 59.34%, and it is better than the horizontal sensitivity of 58.53%. The value of the effective area is nearly equal for the vertical and H-PCF sensor. This table concludes that when compared to the H-PCF sensor, the results of the V- PCF sensor are good.

Table 1 Comparison of the proposed vertical and H-PCF sensors

Results and Discussions

To investigate further, different PML values for V-PCF and H-PCF are analyzed. The different PML values are 0.5 µm, 1 µm, and 1.5 µm. The purpose of the PML is to avoid the scattering of light away from cladding. In the second stage, the V-PCF gas sensor’s elliptical constant is compared with a different elliptical constant. In the third stage, the core of the V-PCF sensor is compared with other core elliptical constant.

Effect of Change of PML in the V-PCF and H-PCF Gas Sensor

The proposed V-PCF gas sensor has the 1st and 2nd cladding elliptical constant of 0.75; the inner cladding has an elliptical constant of 0.625 and the core elliptical constant of 0.714. Different PML values such as 0.5 µm, 1 µm, and 1.5 µm are used, and these PML values are compared with the PML of the V-PCF gas sensor as shown in Fig. 4a–f. The PML value of the proposed method is 0.5 µm. The relative sensitivity and useful mode for these different PML values are analyzed. Different PML values such as 0.5 µm, 1 µm, and 1.5 µm are used in vertical and horizontal cladding outer two layers, respectively.

Fig. 4
figure 4

Structure of a V-PCF sensor with 0.5 µm PML, b V-PCF sensor with 1 µm PML, c V-PCF sensor with 1.5 µm PML, d H-PCF sensor with 0.5 µm PML, e H-PCF sensor with 1 µm PML, f H-PCF sensor with 1.5 µm PML

The sensitivity in percentage for V-PCF and H-PCF with the PML of 0.5 µm, 1 µm, and 1.5 µm is given in Table 2 for the wavelength ranges from 0.8 to 1 µm. In this PCF gas sensor, the light confinement takes place only between 0.8 and 1 µm, and above 1 µm, the light will be scattered, and it is difficult to confine light above 1 µm. In this paper, three different PML values such as 0.5 µm, 1 µm, and 1.5 µm are considered. Among this three PMLs, the V-PCF and H-PCF produce the best result for 0.5 µm PML. If the PML is increased above 0.5 µm, there is a dip in the sensitivity. The confinement loss for different PML depths is investigated [28]. This investigation result clearly reports that the confinement loss is comparatively high for high PML depth and less for low PML depth.

Table 2 Relative sensitivity for V-PCF and H-PCF sensors

From Fig. 5a, it is found that the relative sensitivity curve for V-PCF of 0.5 µm PML is increasing with increasing wavelength. For this 0.5 µm PML, the maximum relative sensitivity of 59.34% is achieved at 1 µm wavelength. Further, different PML values for the horizontal outer cladding are analyzed. For horizontal 0.5 µm, the relative sensitivity curve is drawn, and it is increasing concerning wavelength. The maximum sensitivity of 58.53% is achieved for the wavelength of 1 µm. For 1 µm and 1.5 µm PML, the relative sensitivity decreases at 1 µm wavelength. It happens because the light is not confined to the core region, and it is scattered over the cladding layer. As the PML value increases, the relative sensitivity decreases. The maximum sensitivity of 59.344% and 58.53% at 1 µm wavelength is achieved for V-PCF and H-PCF with 0.5 µm PML.

Fig. 5
figure 5

a Sensitivity profile of V-PCF 0.5 µm PML. b Effective-area of V-PCF 0.5 µm PML

From the relative sensitivity curve, it is analyzed that the V-PCF’s sensitivity of 0.5 µm PML is high compared with the H-PCF of 0.5 µm PML. The sensitivity curve for V-PCF for 0.5 µm PML is linear, and it is far better than the H-PCF of the 0.5 µm PML curve. For V-PCF of 0.5 µm, the effective area increases with increasing wavelength. From Fig. 5b, it is inferred that the effective area for V-PCF and H-PCF outer cladding for 0.5 µm PML is growing linearly. The effective area reaches its maximum at 4.61 µm2. Using the V-PCF sensor with 0.5 µm PML as a base, further analysis is done, and they are explained in “The Effect of Changing the Inner Cladding (Layer 3)” and “The Effect of Changing the Core Elliptical Constant.”

The Effect of Changing the Inner Cladding (Layer 3)

In this analysis, the two best values of the inner cladding elliptical constant are 0.75 (a-semi-axis of 0.8 μm and b-semi-axis = 0.6 μm) and 0.64 (a-semi-axis = 0.85 μm, b-semi-axis = 0.55 μm), and Fig. 6 shows light confinement of the electromagnetic signal in the design of two different 3rd (inner) cladding. These two elliptical constants are compared to the proposed V-PCF gas sensor with an elliptical constant of 0.625 (a-semi-axis = 0.8 μm, b-semi-axis = 0.5 μm). The sensitivity of the V-PCF gas sensor is observed to be the best. The elliptical constant of 0.625 produces the best result when compared to others, because its size is small and places it correctly in the center between the core and the outer layer. In order to achieve the best result, two things need to be considered: the size of the inner cladding should be larger than the outer cladding, and the inner cladding value should be placed in the center between the core and the outer cladding. If the size of the inner cladding increases or decreases, the sensitivity decreases.

Fig. 6
figure 6

Light confinement for the two different 3rd layer (inner) cladding

The relative sensitivity and sufficient area for the different inner cladding layers are drawn as given in Fig. 7 and compared to the proposed gas sensor. The sensitivity and functional area of the proposed V-PCF gas sensor has been found to increase to the maximum wavelength. It is analyzed that as the wavelength increases, the attenuation level is significantly lower and reaches almost zero as the wavelength increases to its maximum value. The confinement loss is considerably less for the proposed gas sensor and is almost zero as the wavelength propagates to full value. Confinement loss decreases due to an increase in the Core-Cladding Index. The relative sensitivity and mode area for different inner cladding layers are 38.551%, 37.942%, 2.54 µm2, and 2.47 µm2, respectively.

Fig. 7
figure 7

Analysis of various sensor parameters for the different inner cladding. a Sensitivity. b Effective area. c Attenuation. d Confinement loss

The Effect of Changing the Core Elliptical Constant

Two different elliptical cores are considered in this design. For this core, the elliptical constant is 0.83 and 1.75. This value is compared to the proposed V-PCF gas sensor with an elliptical constant of 0.714. The light confinement for the two designs is shown in Fig. 8. If this value is increased, the sensitivity will decrease, and if the core elliptical constant decreases, the sensitivity will be almost 0. The sensitivity of the proposed V-PCF gas sensor is increasing linearly. It reaches a maximum of 1 μm, and the remaining two values are compared to a maximum sensitivity of 52.523% and 35.38%, which is lower than the proposed V-PCF gas sensor. The proposed sensor’s effective mode area is 4.61 µm2, which is greater than 3.60 µm2 and 1.56 µm2. Attenuation is reduced and limited, resulting in reduced confinement loss for the proposed V-PCF gas sensor.

Fig. 8
figure 8

Light confinement for different core values in V-PCF

In the first stage, different PML values for V-PCF and H-PCF are considered. For these different PMLs, the V-PCF gas sensor of 0.5 µm gives the best result. The 0.5-µm PML V-PCF gas sensor is compared with the inner cladding layer elliptical constant and different vertical core elliptical constant. In Fig. 9, the comparison of the sensitivity, useful mode, attenuation, and confinement-loss concerning wavelength is drawn using the software. It is found that the proposed method produces good sensitivity, less attenuation, and confinement loss for SO2 at 25 °C, and the comparison table of this best design is shown in Table 3.

Fig. 9
figure 9

Graph for the different core elliptical constant. a Sensitivity. b Effective area. c Attenuation. d Confinement loss

Table 3 Analysis of the proposed V-PCF gas sensor for 0.5 µm PML

The comparative graph shown in Fig. 10 shows a clear picture of the sensitivity and the mode area. The proposed V-PCF gas sensor achieves a sensitivity of 59.34% and a mode area of 4.61 μm2. Table 4 shows the comparison of the proposed sensors (V-PCF & H-PCF) with the different existing gas sensors, and it is understood that the sensitivity of the proposed V-PCF sensor is correct to detect SO2 using a hexagonal system. The proposed V-PCF structure is analyzed for the SO2 gas at 20 °C which is the RI of 1.3047. The sensitivity of this gas is varying from 21.01 to 36.46% for the wavelength ranges from 0.75 to 0.9 μm. The sensitivity of this gas is very less compared with the gas which is proposed in this design. The RI of the proposed V-PCF is 1.3396. The attenuation and confinement loss for 1.3047 RI gas sensor is nearly close to 0 as the wavelength reaches its maximum value.

Fig. 10
figure 10

Wavelength vs. a relative sensitivity of different cladding and core. b Effective area of varying cladding and core

Table 4 Sensitivity comparison of the proposed PCF with other related works

Conclusion

The primary focus of this paper is to investigate the relative sensitivity, user mode, and confinement loss of the proposed V-PCF gas sensor for SO2 detection applications. In this method, different cladding and a single core layer are used. The V-PCF gas sensor is analyzed for different PMLs, other cores, and additional claddings. The proposed V-PCF provides the best relative sensitivity of 59.344%. SO2 can be detected with high sensitivity using this proposed PCF sensor. SO2 is released from volcanic activity and eruptions into the air. If a vapor at 25 °C is released into the air, SO2 will only exist as a gas in the atmosphere. These SO2 in the air will cause asthma and even cancer, so this proposed PCF is highly useful in biomedical applications.