1 Introduction

At present, based on the research of many scholars on lasers [1], it can be found that lasers have shown great promise in laser medicine, optical sensing and fiber telecommunication systems due to their good switching performance, flexible tuning, high output power and low cost. Comb filter plays an important role in the switchable and tunable fiber laser, such as Sagnac filter [6], Mach–Zehnder interferometer (MZI) [9], Lyot filter [12], Fabry–Perot interferometer [15] and so on. Up to now, a lot of researches have been done on erbium-doped fiber laser (EDFL) by scholars. Zijuan T et al. proposed a widely tunable EDFL. The innovation of the proposed fiber laser is to form an MZI by cascading a two-core photonic crystal fiber, which determines the tuning step and the interval of the output wavelengths. The tuning range can be from 1559.72 to 1593.54 nm [18]. Qi Z et al. proposed a switchable EDFL, which uses the parallel dual Lyot structure as a filter. The tuning range of single-wavelength output is 13.52 nm. When the output is dual-wavelength or triple-wavelength, the output laser interval is tunable [19]. Qi Z et al. proposed a tunable EDFL, which uses the cascade structure as a filter. The tuning range has been greatly improved, and it is greater than 18 nm [20]. Bingsen H et al. proposed a tunable EDFL with the tuning ranges of 23 nm and 19 nm when the laser output wavelengths are single-wavelength and dual-wavelength, respectively, with the side-mode suppression ratio (SMSR) can be up to 57 dB [21].

In this study, an EDFL using the embedded Lyot as a filter is designed. Experiments show that the laser can switch the number of wavelengths and tune the output wavelengths. The innovative feature of the embedded Lyot filter used in this experiment is that two optical paths pass through the same section of polarization-maintaining fiber (PMF) and interfere. Compared with other fiber lasers, the SMSR in this work is high, which can be up to ~ 53 dB. The proposed fiber laser can be widely used in practice.

2 The device and principle of the filter

This chapter presents an analysis of the embedded Lyot filter. As shown in Fig. 1, the embedded Lyot filter consists of a polarizer, three polarization controllers (PCs), two 50:50 3 dB optical couplers (OCs), two three-port circulators, and a 4 m long PMF. After passing through the polarizer, the pump light turns into linearly polarized light. Then the linearly polarized light is transmitted to PC1, at which point the polarization state in the cavity changes. After coupling in OC1, the light splits into two beams of co-propagating light, branch A and branch B. After branch A passes through PC2, the polarization state in the cavity changes again. Branch A enters from port-1 of circulator1 to port-2 of circulator1. Similarly, branch B travels in the same way. Branch A and branch B are output from port-2 of circulator1 and port-2 of circulator2 respectively to the same section of PMF and interfere. Branch A and branch B are then output from port-3 of circulator1 and port-3 of circulator2, respectively. Finally, the two beams are coupled into OC2 and interfere again at OC2.

Fig. 1
figure 1

Diagram of the embedded Lyot filter

The incident light is set to \(\mathop E\nolimits_{1}\). After passing through the polarizer, the pump light turns into linearly polarized light. Wavelength loss is minimized when the angle of polarization rotation of the light is in accordance with the angle of PC1. Thus, when the light in the cavity passes through PC1, an angle \(\alpha\) and a phase delay \(\mathop \varphi \nolimits_{1}\) are introduced. According to the optical waveguide theory, the light after passing through the PC1 is denoted by \(\mathop E\nolimits_{2}\):

$$\mathop E\nolimits_{2} = \left[ {\begin{array}{*{20}c} {\cos \alpha } & {\sin \alpha } \\ { - \sin \alpha } & {\cos \alpha } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\mathop e\nolimits^{{ - j\mathop \varphi \nolimits_{1} }} } & 0 \\ 0 & {\mathop e\nolimits^{{j\mathop \varphi \nolimits_{1} }} } \\ \end{array} } \right]\mathop E\nolimits_{1}$$
(1)

Light passing through OC1 is divided into \(\mathop E\nolimits_{3}\) and \(\mathop E\nolimits_{4}\). The coupling ratio of OC1 is set to \(\mathop {\text{k}}\nolimits_{1}\), so that \(\mathop E\nolimits_{3}\) and \(\mathop E\nolimits_{4}\) are as follows:

$$\left[ {\begin{array}{*{20}c} {\mathop E\nolimits_{3} } \\ {\mathop E\nolimits_{4} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\sqrt {1 - \mathop k\nolimits_{1} } } & {j\sqrt {\mathop k\nolimits_{1} } } \\ {j\sqrt {\mathop k\nolimits_{1} } } & {\sqrt {1 - \mathop k\nolimits_{1} } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\mathop E\nolimits_{2} } \\ {\mathop E\nolimits_{2}^{^{\prime}} } \\ \end{array} } \right],$$
(2)

When light is transmitted to the PMF, the high birefringence effect is created, which enhances the mode selection effect. The transmission matrix of the PMF is as follows:

$$\mathop J\nolimits_{PMF} = \left[ {\begin{array}{*{20}c} {\mathop e\nolimits^{{ - {\text{j}}\mathop \varphi \nolimits_{0} }} } & 0 \\ 0 & {\mathop e\nolimits^{{{\text{j}}\mathop \varphi \nolimits_{0} }} } \\ \end{array} } \right],$$
(3)

where \(\mathop \varphi \nolimits_{0} = \frac{{2\pi \Delta {\text{nL}}}}{\lambda }\).

The two beams output from port-3 of circulator1 and port-3 of circulator2 are set to \(\mathop E\nolimits_{5}\) and \(\mathop E\nolimits_{6}\) respectively, which can be described as the equation:

$$\mathop E\nolimits_{5} = \left[ {\begin{array}{*{20}c} {\mathop e\nolimits^{{ - j\mathop \varphi \nolimits_{0} }} } & 0 \\ 0 & {\mathop e\nolimits^{{j\mathop \varphi \nolimits_{0} }} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\cos \beta } & {\sin \beta } \\ { - \sin \beta } & {\cos \beta } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\mathop e\nolimits^{{ - j\mathop \varphi \nolimits_{2} }} } & 0 \\ 0 & {\mathop e\nolimits^{{j\mathop \varphi \nolimits_{2} }} } \\ \end{array} } \right]\mathop E\nolimits_{4}$$
(4)
$$\mathop E\nolimits_{6} = \left[ {\begin{array}{*{20}c} {\mathop e\nolimits^{{ - j\mathop \varphi \nolimits_{0} }} } & 0 \\ 0 & {\mathop e\nolimits^{{j\mathop \varphi \nolimits_{0} }} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\cos \gamma } & {\sin \gamma } \\ { - \sin \gamma } & {\cos \gamma } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\mathop e\nolimits^{{ - j\mathop \varphi \nolimits_{3} }} } & 0 \\ 0 & {\mathop e\nolimits^{{j\mathop \varphi \nolimits_{3} }} } \\ \end{array} } \right]\mathop E\nolimits_{3}$$
(5)

By adjusting PC2 and PC3, the angle of polarization of the incident light with the fast axis of PMF changes, and these angles are set to \(\beta\) and \(\gamma\), respectively, and the phase delays introduced by PC2 and PC3 are set to \(\mathop \varphi \nolimits_{2}\) and \(\mathop \varphi \nolimits_{3}\). \(\mathop E\nolimits_{5}\) and \(\mathop E\nolimits_{6}\) are transmitted output from OC2, \(\mathop E\nolimits_{7}\) and \(\mathop E\nolimits_{7}^{^{\prime}}\) can be calculated from

$$\left[ {\begin{array}{*{20}c} {\mathop E\nolimits_{7} } \\ {\mathop E\nolimits_{7}^{^{\prime}} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\sqrt {1 - \mathop {\text{k}}\nolimits_{2} } } & {j\sqrt {\mathop k\nolimits_{2} } } \\ {j\sqrt {\mathop k\nolimits_{2} } } & {\sqrt {1 - \mathop k\nolimits_{2} } } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\mathop E\nolimits_{5} } \\ {\mathop E\nolimits_{6} } \\ \end{array} } \right]$$
(6)

Finally, the transmission coefficient \(T\) is shown in formula (7).

$$T = \frac{{\left| {E_{7} } \right|^{2} }}{{\left| {E_{1} } \right|^{2} }} = \cos^{2} \alpha \cdot \cos^{2} \left( {\beta - \gamma } \right) + \sin^{2} \alpha \cdot \sin^{2} \left( {\beta - \gamma } \right) + 0.5 \times \sin 2\alpha \cdot \sin 2\left( {\beta - \gamma } \right) \cdot \cos^{2} \left( {\varphi_{0} + \varphi_{2} + \varphi_{3} } \right)$$
(7)

It can be seen from formula (7) that the length of PMF, the angles of PCs and the phase delays by adjusting PCs determine the transmission coefficient \(T\) of the embedded Lyot filter. The simulation of the filter verifies the above theory, and the simulation results are shown in Fig. 2. For \(L = 4\), the filter generates a comb spectrum with the wavelength interval of ~ 1.33 nm.

Fig. 2
figure 2

Simulation diagram of the embedded Lyot filter with (a) varying the angle \(\alpha\) of the polarized light (b) varying the phase delay \(\mathop \varphi \nolimits_{2}\) and \(\mathop \varphi \nolimits_{3}\) of the polarized light

To observe the transmission spectrum of the filter, a broadband light source (BBS, MCASE-CL-13-1-T1) and an optical spectrum analyzer (OSA, YOKOGAW A-AQ670D) are connected at the left and right ends of the filter shown in Fig. 1, respectively. The wavelength interval is ~ 1.33 nm, which is the same as the wavelength interval obtained from the simulation analysis of the embedded Lyot filter.

3 Experimental results and discussion

Figure 3 shows the diagram of the experimental setup of the EDFL using the embedded Lyot as a filter. Firstly, the pump light from the 980 nm pump laser source passes through the 980/1550 nm wavelength division multiplexer (WDM). Then the pump light passes through a 7 m long erbium-doped fiber (EDF), which provides gain and achieves optical amplification. Secondly, the light passing through the EDF reaches the embedded Lyot filter shown in Fig. 1. The combined effect of the filter and polarization hole-burning (PHB) changes the gain and loss at different positions in the cavity and inhibits the mode competition in the cavity. Finally, after two interferences in the filter, the light is coupled into OC3. 10% of the light is transmitted to OSA for observation and 90% of the light is transmitted back into the cavity.

Fig. 3
figure 3

Experimental structure diagram of EDFL with the embedded Lyot filter

Experiments are carried out at the pump power of 300 mW. Figure 4 shows the experimental results that the output wavelength can be switched among the single-wavelength output state and four different multi-wavelength output states by adjusting PC1. As shown in Fig. 4 (a), the SMSR of the output wavelength can reach ~ 53 dB. When the output wavelengths are dual-, triple-, quad- and quintuple-wavelength outputs as shown in Fig. 4b–e, the wavelength intervals are consistent with the simulation results of the filter shown in Fig. 1, which is ~ 1.33 nm.

Fig. 4
figure 4

Output spectra of a single- b dual- c triple- d quad- and e quintuple-wavelength outputs

We measure the laser efficiency at the single-wavelength state. When the pump power is 48 mW, the output wavelength can be in a stable single-wavelength state. It can be seen from Fig. 5 that the output power is linearly related to the pump power and the laser efficiency is 1.2%. A comparison of the laser efficiency of our proposed fiber laser and the fiber laser with a laser efficiency of 0.05% presented in [20] shows that our proposed fiber laser has a higher efficiency.

Fig. 5
figure 5

Laser efficiency at the single-wavelength state

By fixing the angle of PC1 and adjusting both PC2 and PC3 simultaneously, the output wavelengths are tunable. Figure 6 shows the tunable spectra of five different output wavelength states at constant pump power. The wavelength tuning ranges of single-, dual-, triple-, quad- and quintuple-wavelength outputs are ~ 5.31 nm, ~ 4.87 nm, ~ 4.69 nm, ~ 3.92 nm, and ~ 2.15 nm, respectively, and the tuning step sizes are ~ 1.33 nm, ~ 0.70 nm, ~ 1.56 nm, ~ 0.78 nm and ~ 0.36 nm. The experimental results validate the simulation analysis of the embedded filter in the previous chapter that the output wavelengths are tunable by adjusting PC2 and PC3. As shown in Fig. 6a, it is observed that the SMSRs of the single-wavelength outputs on both sides are lower than the middle. The reason for this phenomenon is that the output power on both sides of the gain spectrum of EDF used in the experiment is lower than the output power in the middle. When the laser on both sides is excited, the output wavelength is suppressed because the loss at this position is greater than the gain.

Fig. 6
figure 6

Tunable output spectra of a single- b dual- c triple- d quad- and e quintuple-wavelength outputs

In addition to tuning the output wavelength, our proposed fiber laser can also change the wavelength interval by simultaneously adjusting PC2 and PC3, when the output wavelength is triple- or quad-wavelength. The output spectra of the triple-wavelength output states are shown in Fig. 7.

Fig. 7
figure 7

Spectra of the triple-wavelength output states with (a), (b) and (c) different intervals

Figure 8 shows the output spectra of the quad-wavelength output states. We believe that this phenomenon is due to the combined effect of the filter and PHB. In the process of adjusting PC2 and PC3, the state of the output wavelength changes. The wavelength interval changes when the laser cavity is in a specific polarization state. In summary, the fiber laser has good switchability and flexible tunability.

Fig. 8
figure 8

Spectra of the quad-wavelength output states with (a) and (b) different intervals

As shown in Fig. 9, the laser outputs are tested every 10 min at room temperature for 60 min to study the stability of the fiber laser. The experimental results show that the fluctuations of wavelength and peak power are less than 0.12 nm and 1.64 dB respectively, which verifies that the EDFL has good stability.

Fig. 9
figure 9

Power fluctuations and wavelength drifts of a single- b dual- c triple- d quad- and e quintuple-wavelength outputs

In the end, we compare the EDFL in this work with other switchable and tunable fiber lasers. As shown in\* MERGEFORMAT Table 1, the maximum number of output wavelength, threshold power and the SMSR of the laser are listed. It is noted that the SMSR of the output wavelength in this work is higher than others. It has promising applications in optical communications, high-precision sensing and coherent detection.

Table 1 Comparison of this work with other work on fiber lasers

4 Conclusions

In this paper, we propose a switchable and tunable EDFL with the embedded Lyot filter. The innovation of the fiber laser is that the two beams of light pass through the same section of PMF. The laser working threshold is ~ 48 mW and the laser efficiency is 1.2%. The output wavelength can be switched by adjusting PC1. By adjusting PC2 and PC3 simultaneously, the fiber laser shows good tunability. The proposed EDFL has the advantages of high SMSR, high laser efficiency, good stability and low cost. Therefore, the fiber laser proposed in this paper has great potential applications in fiber communication, optical sensing and other fields. In future work, we will optimize the filter and improve the performance of the fiber laser.