1 Introduction

The advent of optical fiber has caused extensive exploration by scientific researchers. Optical fiber sensors for sensing measurement also emerge at the historic moment. In addition to single-mode fiber (SMF), a variety of special fibers emerge endlessly, such as hollow fiber (HF) [1], photonic crystal fiber (PCF) [2], plastic optical fiber (POF) [3], few-mode fiber (FMF) [4]. Through the research, it is found that heterogeneous sensors with different structures can be prepared by changing the configurations of fibers. These configurations include core-offset [5], taper [6], D-shape [7] and so on. This greatly enriches the variety of optical fiber sensors. For example, there are sensors such as a core-offset Mach-Zehnder interferometer (MZI) [8], a tapered Michelson Interferometer (MI) based on SMF [9], a metal-coated surface plasmon resonance (SPR) sensor with V-shaped grooves [10]. Moreover, the optical fiber sensor can sense a wide variety of physical parameters, such as liquid level [11], refractive index (RI) [12], micro-displacement [13], gas concentration [14]. The emergence of these sensors has greatly fulfilled multiple needs in various fields. With the superiorities of simple mechanism, small dimension and strong anti-electromagnetic interference ability [15, 16], optical fiber sensors have potential application prospects in medical imaging, biomedicine, aerospace and other fields.

RI can be used to reflect a change in the liquid, which highlights the importance of sensing RI. At present, multitudinous optical fiber sensors for RI sensing have been proposed. In 2018, Liu et al. proposed a core-offset sensor based on erbium-doped fiber. The highest RI sensitivity is -74.22 nm/RIU in the range of 1.333–1.361, which can be obtained without temperature crosstalk. This result is attributed to the introduction of the common difference compensation method [17]. In 2019, Gao et al. proposed a tapered MZI with two waists based on PCF. The results of experiment indicate that in the range of 1.3374–1.3477, the highest RI sensitivity is 263.5 nm/RIU. This sensor achieves sensitivity enhancement by changing the fiber into a tapered shape [18]. Furthermore, the researchers have found that the RI sensitivity can be improved by curving the fiber. Many sensors with curved structures have been proposed. In 2016, Liu et al. proposed a balloon-shaped sensor formed by SMF. The highest RI sensitivity is 225.95 nm/RIU in the range of 1.3493–1.3822. The preparation of the sensor is extremely simple, which can be obtained without splicing and other methods [19]. In 2021, Wu et al. proposed a curved core-offset sensor cascaded a fiber Bragg grating (FBG). The results of experiment indicate that in the range of 1.333–1.373, the highest RI sensitivity is -115.5646 nm/RIU. The sensor achieves simultaneous measurement of temperature and RI by cascading FBG [20].

In the study, a spindle-shaped sensor based on SMF-no-core fiber (NCF)-FMF-NCF-SMF (SNFNS) is presented. The sensor can be obtained by fusing SMF, NCF, FMF of different lengths successively and burning the fiber to curve into a spindle shape. The light transmitted in the cladding can excite higher-order modes and interfere with the light transmitted in the core. The different dips generated by different modal interference have different properties. These interference dips have different sensitivity to external RI changes. Compared with the straight SNFNS sensor, the introduction of curvature allows the spindle-shaped sensor to realize the increased sensitivity to RI.

2 Theoretical and simulation analysis

2.1 The sensor structure and preparation

There are three different fibers, SMF, NCF and FMF, which are used to design and fabricate the SNFNS spindle-shaped sensor. Table 1 presents the basic parameters of three fibers. Aa shown in Fig. 1, the preparation of the SNFNS spindle-shaped sensor is roughly divided into three processes. Firstly, SMF, NCF, FMF, NCF, and SMF are fused in sequence by the optical fiber fusion splicer (S178C, Fitel) to form an SNFNS straight structure interferometer. Secondly, the fiber is curved by applying force to form a balloon-like structure. A glass capillary, whose length is 2 cm, is used to regulate the shape of the sensor. Finally, the means of burning fiber with candle flame is used to curve fiber to form an SNFNS spindle-shaped interferometer, which schematic diagram is displayed in Fig. 2(a). And d denotes the transverse diameter. As the chart shows, light is imported from leading-in SMF core. In NCF, the light is divided into multiple beams that enter the core and cladding of FMF. As the FMF is curved, a small amount of light transmitted in the FMF core enters the cladding. When the light is transmitted to another curved part, most light in the cladding is coupled back into the core. The glass capillary is used to regulate the transverse diameter of the sensor. The actual image of the SNFNS spindle-shaped sensor prepared in the experimentation is shown in Fig. 2(b).

Table 1 Basic parameters of optical fibers
Fig. 1
figure 1

The preparation of the SNFNS spindle-shaped sensor: (a) SNFNS straight structure (b) SNFNS balloon-like structure (c) SNFNS spindle-shaped structure

Fig. 2
figure 2

SNFNS spindle-shaped sensor: (a) schematic diagram and (b) actual image

2.2 Principle analysis

In SNFNS spindle-shaped sensor, the output light intensity of modal interference can be written as [21]:

$$\eqalign{& I = {I_1} + \mathop \sum \limits_{k = 1}^n I_2^{k} + 2\mathop \sum \limits_{k = 1}^n \sqrt {{I_1}I_2^{k}} \cos (\Delta {\varphi ^k}) = {I_1} + \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\mathop \sum \limits_{k = 1}^n I_2^{k} + 2\mathop \sum \limits_{k = 1}^n \sqrt {{I_1}I_2^{k}} \cos [{{2\pi L({n_{core}} - n_{clad}^{k})} \over \lambda }] \cr}$$
(1)

where I1 represents the intensity of mode in core and \(\:{\mathit{I}}_{\text{2}}^{\mathit{k}}\)represents the intensity of k-order mode in cladding. The phase difference between the mode in core and the k-order mode in cladding is represented by \(\Delta {\varphi ^k}.\,\lambda\). represents the free-space wavelength of input light. L denotes the sensing length of the sensor. And ncore and \(\:{\mathit{n}}_{\text{clad}}^{\mathit{k}}\) represent the effective refractivity of the mode in the core and the k-order mode in the cladding, respectively. According to the Eq. (1) and these parameters, the wavelength of interference dip can be expressed as:

$${\lambda _{{\rm{dip}}}} = {{{\rm{2\mathit{L}(}}{{\rm\mathit{n}}_{{\rm{core}}}}{\rm\mathit{ - n}}_{{\rm{clad}}}^{{\rm\mathit{k}}}{\rm{)}}} \over {{\rm{2\mathit{m} + 1}}}}$$
(2)

where m = 0, 1, 2…, which is a positive integer. However, modal interference can occur only if the phase difference meets the particular condition, that is,

$$\Delta {\varphi ^{\rm\mathit{k}}}{\rm{ = (2\mathit{m} + 1)}}\pi$$

.

Therefore, as the RI of the external solution changes, the drift of the interference dip can be expressed as:

$${{\partial {\lambda _{{\rm{dip}}}}} \over {\partial {\rm\mathit{RI}}}} = {{\rm{1}} \over {{{\rm\mathit{n}}_{{\rm{core}}}}{\rm{ -\mathit n}}_{{\rm{clad}}}^{\>{\rm\mathit{k}}}}}{{\partial {\rm{(}}{{\rm\mathit{n}}_{{\rm{core}}}}{\rm{ -\mathit n}}_{{\rm{clad}}}^{\>{\rm\mathit{k}}}{\rm{)}}} \over {\partial {\rm\mathit{RI}}}}{\lambda _{{\rm{dip}}}}$$
(3)

And as the temperature of the ambient environment changes, the drift of the interference dip can be expressed as [22]:

$${{\partial {\lambda _{{\rm{dip}}}}} \over {\partial {\rm\mathit{T}}}} = {\rm{(}}\alpha {\rm{ + }}{{{\xi _{{\rm{core}}}}{{\rm\mathit{n}}_{{\rm{core}}}}{\rm{ - }}{\xi _{{\rm{clad}}}}{\rm\mathit{n}}_{{\rm{clad}}}^{{\rm\mathit{k}}}} \over {{{\rm\mathit{n}}_{{\rm{core}}}}{\rm\mathit{ - n}}_{{\rm{clad}}}^{{\rm\mathit{k}}}}}{\rm{)}}{\lambda _{{\rm{dip}}}} = {\rm{(\alpha + }}\Delta {{\rm\mathit{n}}_\xi }{\rm{)}}{\lambda _{{\rm{dip}}}}$$
(4)

where α denotes the thermal expansion coefficient of fiber, and ξcore and ξclad denote the thermo-optic coefficient of fiber core and cladding, respectively. When the value of \(\Delta {{\rm\mathit{n}}_\xi }\) is negative and approximately the opposite of \({{\partial {\lambda _{{\rm{dip}}}}} \over {\partial {\rm{T}}}} \approx {\rm{0}}{\rm{.}}\) the \(\>{{\partial {\lambda _{{\rm{dip}}}}} \over {\partial {\rm{T}}}} \approx {\rm{0}}\). This means that the drift of the interference dip with temperature changes is ~ 0, and the sensor is not sensitive to temperature.

2.3 Simulation analysis

Comsol is used to study the effect of curvature on modes field distributions of fiber. The simulation analyses are shown in Fig. 3. By comparing modes field distributions of the straight fiber and the curved fiber with a transverse diameter of 4 mm, it can be found that curvature causes light uniformly distributed in the core to curve sideways and leak into the cladding. The analyses of partial modes field distributions in the fiber cladding are illustrated in Fig. 3(b). The modes listed demonstrate that curvature can make the light transmitted in the cladding excite higher-order modes.

Fig. 3
figure 3

The modes field distributions of fiber with different curvature: (a) modes field distributions of the straight fiber and the curved fiber with d = 4 mm and (b) modes excited in the cladding of curved fiber with d = 4 mm

Rsoft is used to analyze normalized energy field distributions of three sensors with different structure. Figure 4(a), (b) and (c) respectively illustrate normalized energy field distributions of the SNFNS straight sensor, the SFS spindle-shaped sensor, and the SNFNS spindle-shaped sensor. In order to compare the differences of the four modes in FMF core intuitively, the lengths of three kinds of fibers are shortened in the simulation. A comparison of Fig. 4(a) and (c) shows that the SNFNS straight sensor does not make the light transmitted in FMF core excite the four modes sufficiently. Meanwhile, due to the increasing of energy leakage caused by curvature, the energy loss of SNFNS spindle-shaped sensor is relatively larger. Through the comparison of Fig. 4(b) and (c), it can be found that the period of energy exchange in the SNFNS spindle-shaped sensor is shorter than that of SFS spindle-shaped sensor due to the introduction of NCF. Therefore, at the same length, the modal interferences in the SNFNS spindle-shaped sensor occur more frequently, and the number of interference dips within the corresponding observable range increases.

Fig. 4
figure 4

The normalized energy field distributions of three schemes: (a) SNFNS straight sensor, (b) SFS spindle-shaped sensor and (c) SNFNS spindle-shaped sensor with d = 4 mm

The fast Fourier transform (FFT) is used to study internal transmission modes of different sensors. The three lines drawn in Fig. 5(a) are FFT analyses of three different schemes respectively, in which the dominate mode in the cladding of the SFS spindle-shaped sensor represented by the blue line is not obvious. Comparing the three lines with different colors, it can be found that the peak value of the dominate mode in the cladding of the SNFNS spindle-shaped sensor is the highest. The higher the peak, the greater the proportion of this mode in interference. By comparing the two lines in Fig. 5(b), it is found that the difference between the peak value of the dominate mode and the weak mode in the cladding of the sensor with d = 4 mm is much larger than that of the sensor with d = 5 mm, which indicates that the interference process of the sensor with d = 4 mm is more stable. Therefore, it is considered that the SNFNS spindle-shaped sensor with a transverse diameter of 4 mm has better performance from the perspective of FFT analyses of transmission spectra.

Fig. 5
figure 5

The comparison of different spatial frequency spectra: (a) spatial frequency spectra of three schemes (b) spatial frequency spectra of different transverse diameters

3 Experimental analysis and discussion

3.1 Experimental apparatuses

As shown in Fig. 6, some experimental apparatuses are applied to study the RI sensing characteristic and temperature sensing characteristic of sensors. These apparatuses mainly include a broadband source (BBS, 1528–1603 nm), an optical spectrum analyzer (OSA, AQ6370D, 600–1700 nm, 0.02 nm), a temperature controller (GDS-50, -20-150℃) and glass plates and so on.

Fig. 6
figure 6

Sensing experimental apparatuses for refractive index and temperature

3.2 Experimental process and results analysis

Two sensors with different transverse diameters are made in the experiment, and their specific parameters are plotted in Table 2. The different transmission spectra of the two sensors are plotted in the Fig. 7. It can be found that with the decreasing of the transverse diameter, the loss of the interference dips also increases. The reduction in transverse diameter increases the curvature of the fiber, leading to an increase in energy leakage from the fiber, which results in greater losses for a sensor with smaller transverse diameter.

Table 2 Specific parameters of two sensors
Fig. 7
figure 7

Transmission spectra of two sensor samples

In the RI experiment, glycerin and water are mixed in different proportions to produce solutions of different refractive indices (1.333–1.365). The sensors are fixed on glass plates. The configured solutions are dripped onto the sensors in ascending order. The drifts of interference dips are used to analyze the RI characteristics of sensors. It is noteworthy that there could be a little residual solution on the sensor surface when the solution is replaced. There should be sufficient deionized water used to flush out the sensor. The experimental results indicate that all interference dips of two sensors drift towards the long wavelength direction when external RI increases, as shown in Fig. 8. Because different interference dips are formed by different modal interferences, these interference dips have different sensing characteristics to the changes of RI. Specifically, these interference dips have different RI sensitivities. The sensitivities of three interference dips of sensor-1 are obtained by calculation as 258.5 nm/RIU with the linear fit of 0.998, 104.7 nm/RIU with the linear fit of 0.993 and 53.3 nm/RIU with the linear fit of 0.997, respectively. And the sensitivities of two interference dips of sensor-2 are 189.2 nm/RIU with the linear fit of 0.997 and 124.0 nm/RIU with the linear fit of 0.995. Comparing the maximum drift of two sensors in Fig. 9, it can be found that the sensor-1 with transverse diameter of 4 mm is more sensitive to RI. This is because the smaller the transverse diameter, the greater the curvature of the fiber, the more excited higher-order modes of light, making the sensor more sensitive to external changes.

Fig. 8
figure 8

Refractive index experiment results of two sensors: (a) transmission spectrum of sensor-1 and (b) transmission spectrum of sensor-2

Fig. 9
figure 9

RI sensitivity comparison of sensors

In the temperature experiment, two sensors, whose surface covered with enough deionized water, are placed in a temperature controller, respectively. The starting and ending temperatures are set at 10℃ and 70℃, with intervals of 10℃ during the period. The drifts of the interference dips are observed and recorded. By analyzing drifts of interference dips with changes in external temperature, the temperature sensing characteristics of sensors can be obtained. The temperature experiment results of two sensors are displayed in Fig. 10. It is show that as the temperature increase from 10℃ to 70℃, the drift of interference dips is tiny. For example, the drift of dip1 of sensor-1 is only 0.256 nm. The temperature linear fits of dip1 of two sensors are shown in Fig. 11. On the basis of considering the experimental errors, it can be inferred that the SNFNS spindle-shaped sensor is not sensitive to temperature. This temperature insensitivity characteristic of the sensor can effectively solve the problem of temperature crosstalk.

Fig. 10
figure 10

Temperature experiment results of two sensors: (a) transmission spectrum and linear fit of sensor-1 and (b) transmission spectrum and linear fit of sensor-2

Fig. 11
figure 11

Temperature linear fits of two sensors

Stability is one of the most integral performance indicators for judging a sensor. Sensor-1 is placed in solutions of 1.333 and 1.365 for 120 min. The changes in wavelength position of interference dips are plotted in Fig. 12. The drifts of three interference dips are between 0.244 nm and 0.512 nm. Considering the slight errors in the experiment, the sensor is considered stable.

Fig. 12
figure 12

Stability experiment result of sensor-1

In addition, the polarization effect of the sensor has also been verified. A polarization controller (PC) is connected between the broadband source and the sensor in the experiment. And the PC is rotated at different angles to change the polarization pattern of light in the sensor. It can be observed that the transmission spectrum of the sensor has hardly changed. Therefore, the polarization effect cannot be considered for the proposed sensor.

3.3 Discussion

The proposed sensor is compared with other sensors with different structures in Table 3. The refractive index and temperature sensing characteristics of sensors are the main contents of the comparison. It can be considered that the temperature-insensitive SNFNS spindle-shaped sensor has good comprehensive sensing characteristics.

Table 3 Comparison of sensing characteristics with different sensors

4 Conclusion

In this paper, a sensor for refractive index sensitization by curving is presented. The spindle-shaped sensor is formed by curving fibers through a flame based on the SNFNS structure. The effect of curving on sensor performance is verified through simulation and experiments. The results show that as the transverse diameter decreases, the loss of the sensor increases, and the RI sensitivity also increases. When the transverse diameter is ~ 4 mm, the RI sensitivity of the sensor is 258.5 nm/RIU. At the same time, it is found that the sensor has the characteristic of temperature insensitivity in experiments. Therefore, the potential of this sensor is extraordinary.